Strange LoadLibrary problem



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
.



Relevant Pages

  • Re: Can find Vista box, cant share folders or printers.
    ... When I click 'Network' on the laptop the ... I've disabled Norton and Windows firewall entirely to make sure that's not ... public folder sharing - on ... start by running the Network Setup Wizard on all machines (see ...
    (microsoft.public.windows.vista.networking_sharing)
  • Re: XP to Vista -- only halfway there
    ... concerning networks that combine Vista and XP machines. ... I am setting up an inhouse network that links together three machines, ... by 1) a misconfigured firewall or overlooked firewall (including stateful ...
    (microsoft.public.windows.vista.networking_sharing)
  • Re: Audacity and Gentoo
    ... can only pick up radio 4 when using the TV aerial to ... I freak if my machines disagree by more than about 50 ... > ADSL cable, 2 power cables, one network ...
    (uk.comp.os.linux)
  • Re: Active Directory Setup Advice
    ... A domain is really an entity with a single security remit. ... seen as on the same network it will be like one big network. ... Under one domain all machines have to be unique in naming scheme. ... sub domains you can have same names under different domain. ...
    (microsoft.public.windows.server.active_directory)
  • Re: install
    ... You just need to set up your network correctly. ... start by running the Network Setup Wizard on all machines (see ... Problems sharing files between computers on a network are generally caused ... by 1) a misconfigured firewall or overlooked firewall (including a stateful ...
    (microsoft.public.windows.vista.installation_setup)

Loading