Now I have several App.EXEs that will not run.
They all run just fine in the IDE.
The crashing app:
Never get to the first line in Sub Main(). e.g. A MsgBox never
shows.
Throw all sorts of error messages that make no sense to me.
Windows Installer
Unexpected Termination
I put Line Numbers in sub Main and an error handler but get the
message from the error code
AppName: Main
Exiting Main: Fatal Error: Line 0
OK
First executable line is 10.
AppName: Log Message
Error: 326
Resource with identifier 'VERSION' not found
OK
AppName: Log Error
Error: 326
Application-defined or object-defined error
OK
Sometimes the App.EXE is left in memory and I use Process Explorer to
close.
ProcMon follows the goings on but I cannot see anything that kills the
app although I do see how MS does some strange and interesting things.
I have the C++ debugger installed and only once did it start but
unfortunately I did not have the symbolic checkbox checked in the IDE
for the compiled code. I do now but it has not generated the same
error.
Other large VB6 apps that I wrote run just fine as an App.EXE.
So the big question is ... What is the difference between running as an
EXE or in the IDE? Where do I find out this information so maybe I can
isolate what some of my apps are doing that Windows or whatever does
not like?
BTW, the other large app that does not run offers absolutely no error
messages.
Replies