Application will not launch with Endpoint Installed
Created: 11 Jan 2008 | Updated: 21 May 2010 | 1 comment
I have a mixed mode application (native C++ and .NET C++ CLI) that will not launch when Endpoint is installed on the machine and runs fine when Endpoint is removed.
We received notice of this problem from several customers and then I tried Endpoint on one of our virtual machines and it happened there too. I have Endpoint on a machine with a debugger and see that it actually is failing really before any of the dll initializers are run. We worked to create a subset of the application and get the following error message:
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[3052] Mini-SMS.exe: Native' has exited with code -1073741819 (0xc0000005).
The program '[3052] Mini-SMS.exe: Native' has exited with code -1073741819 (0xc0000005).
The mixed mode application will work fine if it is by itself. The problem occurs when loading dlls associated with the application. If the application loads one of my native dlls (note when I say load I am saying that in the sense I can see it in the output window of the debugger, because like I said previously the dll initializer is not called yet) because of a linked call in the main application the failure will happen.
The one workaround I seemed to have stumbled upon is if I make the first DLL linked to my application also mixed mode (causing mscoree.dll to load early in the sequence), then the application will run.
Has anyone else had issues with loading applications with Endpoint installed?
Thanks,
Juan Foegen
Discussion Filed Under:
Comments 1 Comment • Jump to latest comment
Would you like to reply?
Login or Register to post your comment.