On Wed, 08 Oct 1997 11:58:25 -0700 Maurice Lombardi Maurice.LOMBARDI@ujf-grenoble.fr wrote:
Peter Gerwinski wrote:
Frank has tracked down this error to the following: : : unit system; : interface : implementation : : var junk:integer; : : to begin do : for junk := 1 to 1 do; : : end.
There is another error in this initialization part (which presumably has nothing to do with the crash of the compiler). The variable ppJunk is New'ed, used to fill CmdLine, which is a pointer of pChar type, Then Dispose'd. So the memory to which CmdLine points is reputted into the heap, and can be overwrited by subsequent instructions in the main program.
Oops! I will correct this in the next release of bpcompat, either by disposing of ppJunk in the finalisation part of the unit, or by doing something else!
Thanks for the report!
Best regards, The Chief Dr Abimbola A. Olowofoyeku (The African Chief, and the Great Elephant) Author of: Chief's Installer Pro v4.01 for Win16 and Win32. Homepage: http://ourworld.compuserve.com/homepages/African_Chief/ E-mail: laa12@keele.ac.uk