On Thu, 15 May 2008, Chen Kedem wrote: > > If you do not link your program as GUI > > one then you have: > > hb_errInternal( 10001, "It's not a window GUI program.", "", "" ); > Yes, but the user can't see the message as it goes to limbo, it is > not on console, stdout or stderr. All I get is the CodeGuard box and > then the program terminate.
Strange. The above message should be sent to stderr. Probably because GT initialization is in progress the message is dropped. It shoudn't. I'll look at it. > It all started when I was trying to run tests/gfx.prg which is now > working colorfully, but gives some CodeGuard errors. > Here is a small test that show the problem: > Error 00001. 0x130410 (Thread 0x002F): > Access overrun: Attempt to access 10 byte(s) at 0x00CB2B8C, that is at offset > 88 in heap block 0x00CB2B34 which is only 97 bytes long. > strlen(0x00CB2B8C ["s"]) > Call Tree: > 0x00479051(=tt12.exe:0x01:078051) source\rtl\gtwvt\GTWVT.C#1691 > 0x0045A126(=tt12.exe:0x01:059126) source\rtl\GTAPI.C#893 > 0x0045B034(=tt12.exe:0x01:05A034) source\rtl\GTFUNC.C#108 > 0x0042F355(=tt12.exe:0x01:02E355) source\vm\HVM.C#4876 > 0x00421D15(=tt12.exe:0x01:020D15) source\vm\HVM.C#1043 > 0x004011BC(=tt12.exe:0x01:0001BC) tt12.c#42 [...] > Running on a Windows NT 4.0 workstation if that matter. It's caused by missing ASCII-0 terminator when window title is get. I'll fix it ASAP. Thank you for tests. best regards, Przemek _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
