January 8, 200620 yr Hi ChrisI created my Sourceforge ID as hkraft. Please add me to the project as developerthanksHarald
January 28, 200620 yr Author Hi rolandYes, chris added me to the list but I seem to be the only one with Visual studio 2005 an so I am still fighting with some problems, exspecially "assertion errors".Visual Studio 2005 does not like empty strings for "string operation" so i had to change quite a lot and still have not solved allHarald
January 29, 200620 yr Yes you are right, we are all on the old Visual 6.Don't you have it ? It would be easier.- roland -
January 29, 200620 yr >Visual Studio 2005 does not like empty strings for "string>operation" so i had to change quite a lot and still have not>solved allNot sure what you mean here. Are you compiling as a normal C++ application? What "string operation" are you referring to? Can you post some line numbers? Either here or on the list...thanks.Chris WallaceOttawa, Canada
January 29, 200620 yr Author Hi rolandI have no idea where to get a legal copy of VS6. I got my VS2005 copy at last years IT-Forum thats the reason I am using it.HArald
January 29, 200620 yr Author Hi chris here are some changes I had to make. The problem are all emty lines (in ini files or similar) befor or after removing all whitespaces that trigger an assertion error in VS2005.I am sure my solutions are not the best so I kept them privat for now but I hope you can see what my problem is.HaraldStream.cpp **************************Line 68 change// If not a comment or empty line, // then go ahead and parse it if ((strncmp (test, "//", 2) != 0) && (*test != 'r') && (*test != 'n')) {Fuitheme.cpp Line 537 insert if ((strncmp (s, "rn", 2) == 0)) { // empty line pgets (s, 256, p); continue; } ;Fuimanager.cpp Line 118 insert if ((strncmp (s, "rn", 2) == 0)) { // empty line pgets (s, 256, p); continue; } ;ini.cpp Line 950 insert // ignore empty lines if ((strncmp (s, "n", 1) == 0)) { continue; } ;Menu.cpp *************************Line 211 added int i=0; Line 1577 // for(index = 0, iComm = 0; index < dbRunway->GetNumRecords(); index++) for(int index = 0, iComm = 0; index < dbRunway->GetNumRecords(); index++)Panels.cpp **************************Line 95 change// CPanel::CPanel (Tag id, const char* filename)CPanel::CPanel (Tag id, char* filename)Panels.h ***********************Line 62 change // CPanel (Tag id, const char* filename); CPanel (Tag id, char* filename);Situation.cpp ********************** Line 530 change //for(i = 0; i < uiEngines; i++) for(int i = 0; i < uiEngines; i++)Line 541 Change //for(i = 0; i < uiEngines; i++) for(int i = 0; i < uiEngines; i++)Starimage.cpp ********************** Line 141 change// static char* getToken (const char* s, char* token, int size)static char* getToken (char* s, char* token, int size)
Create an account or sign in to comment