Click to See Complete Forum and Search --> : Please Help - dll initialization routine failed


cfahrenkrug
April 29th, 2005, 11:58 AM
I've written a C++ Managed class library around a native C++ library (for an API). Sparactically I will run into a problem only in debugging, The dll initialization routine failed for the file, etc. It doesn't happen all of the time, and it is only in Visual Studio. If the application is run without visual studio, it never get the area.

But, if I have the application open, then open up Visual Studio, load the solution and close the application, I can compile and run in visual studio fine until the message sparatically returns.
I'm not sure if this is a memory management problem. I know that two applications CANNOT access the API at the same time, otherwise you will have the same problem.


Any help would be greatly appreciated.