MFC app failure to boot up in Windows XP
-
Hey Guys, I'm looking for a bit of guidance on an intermittant crashing issue I'm having with WindowsXP. I have an MFC based SDI app that loads a dll, but apart from that its pretty bog standard. It was written using Visual C++ 6.0. Anyway very occassionally on some machines running WindowsXP the app won't even boot up. I'm fairly sure the failure is due to the fact that ProcessShellCommand must be returning false. However I could be jumping to conclusions, it may be a dodgy install shield. Would any one have any thoughts or guidance on this issue. Best Regards Danny Nowlan
-
Hey Guys, I'm looking for a bit of guidance on an intermittant crashing issue I'm having with WindowsXP. I have an MFC based SDI app that loads a dll, but apart from that its pretty bog standard. It was written using Visual C++ 6.0. Anyway very occassionally on some machines running WindowsXP the app won't even boot up. I'm fairly sure the failure is due to the fact that ProcessShellCommand must be returning false. However I could be jumping to conclusions, it may be a dodgy install shield. Would any one have any thoughts or guidance on this issue. Best Regards Danny Nowlan
Okay, 'fail to boot up' would imply what? Not even RUN at all? Of course, if you even suspect your program is starting okay, then add more of your own error handling to the application and maybe write to a text log file only when something is wrong. Then your customers could send this file to you when your app will not 'boot up' on their machines. It IS entirely likely you are at least getting into WinMain unless a critical statically linked DLL is missing, in which case Windows would normally tell you that a required DLL is missing. I suspect, as do you, that some part of your framework or app path is failing, but there is no visible external notification. You need to bring that out, either with message boxes or with text file logging. I usually favor the text file logging, as the user does not have to retype or 'interpret' anything. They can usually e-mail you a text file.