Strange LoadLibrary problem
- From: Murrgon <murrgon@xxxxxxxxxxx>
- Date: Wed, 31 Jan 2007 14:06:24 -0500
I just finished moving a big app over to VC2005 and have run
into a problem with running the application on machines that
don't have Visual Studio installed.
The application's folder structure looks like this:
/app
/system
/plugins
The main EXE for the application is located in /app/system.
The plugins folder contains a number of dynamically loaded
DLLS. The problem is everything in plugins no longer loads.
Well, they load fine on a dev machine, but on machines without
Visual Studio installed, the LoadLibrary() call fails for
all of the plugin DLLs. The GetLastError() codes returned
for the failed loads is where it gets really weird.
I have received several different error codes from GetLastError()
after LoadLibrary() fails. They include:
61: The printer queue is full
62: Space to store the file waiting to be printed is not
available on the server
63: Your file waiting to be printed was deleted
65: Network access is denied
67: The network name cannot be found
Is it just me, or are those error codes just plain wrong? I
can't fathom how a failed call to LoadLibrary() has anything
to do with printing. Also the DLLs in question are stored
locally, just in a sub directory, so there shouldn't be any
network stuff going on.
I'm at a loss on this one. Does anyone have any idea what
might be happening here?
Thanks a tonne
Murrgon
.
- Follow-Ups:
- Re: Strange LoadLibrary problem
- From: Doug Harrison [MVP]
- Re: Strange LoadLibrary problem
- Prev by Date: Re: VC7.1/8 Explicit templated constructor invoked instead of copy ctor
- Next by Date: Re: VC7.1/8 Explicit templated constructor invoked instead of copy ctor
- Previous by thread: Drawing Bitmap on the CHtmlView
- Next by thread: Re: Strange LoadLibrary problem
- Index(es):
Relevant Pages
|
Loading