PbWin 8.04 crashes when I attempt to compile one of my programs that compiles ok with 8.03.
Error signature:
AppName: pbwin.exe AppVer: 0.0.0.0 ModName: pbwin.exe
ModVer: 0.0.0.0 Offset: 00028d00
In an attempt to isolate the problem, I’ve replaced the contents of WinMain by simply msgbox "Hello".
The program has a number of include files. I began commenting out the #INCLUDE statements one by one. At first, this made no difference as the compiler still crashed. Then I removed one further #INCLUDE and the program compiled. “Ah – something wrong in that file”, I thought.
I was wrong. I then uncommented that same #INCLUDE (checked that compiler still crashed) and commented out another one of the remaining #INCLUDE statements – program compiled ok. In other words, I can now comment out any one of the remaining #INCLUDE and the program compiles – which one I choose doesn’t matter.
Further experiment – don’t comment out that last randomly picked include so the code still crashes compiler. Now add the following empty subroutine and the program compiles ok.
SUB LazyElephant ()
END SUB
It is position sensitive. Adding this LazyElephant subroutine after the last uncommented #INCLUDE makes no difference. It has to be inserted either before all #INCLUDE or somewhere in their midst.
Any ideas?
Keith
Error signature:
AppName: pbwin.exe AppVer: 0.0.0.0 ModName: pbwin.exe
ModVer: 0.0.0.0 Offset: 00028d00
In an attempt to isolate the problem, I’ve replaced the contents of WinMain by simply msgbox "Hello".
The program has a number of include files. I began commenting out the #INCLUDE statements one by one. At first, this made no difference as the compiler still crashed. Then I removed one further #INCLUDE and the program compiled. “Ah – something wrong in that file”, I thought.
I was wrong. I then uncommented that same #INCLUDE (checked that compiler still crashed) and commented out another one of the remaining #INCLUDE statements – program compiled ok. In other words, I can now comment out any one of the remaining #INCLUDE and the program compiles – which one I choose doesn’t matter.
Further experiment – don’t comment out that last randomly picked include so the code still crashes compiler. Now add the following empty subroutine and the program compiles ok.
SUB LazyElephant ()
END SUB
It is position sensitive. Adding this LazyElephant subroutine after the last uncommented #INCLUDE makes no difference. It has to be inserted either before all #INCLUDE or somewhere in their midst.
Any ideas?
Keith
Comment