LoadLibrary Failed

  • Thread starter Thread starter Chin Chien Ping
  • Start date Start date
C

Chin Chien Ping

I get this error message "LoadLibrary Failed" when try to deploy my .cab
application to my device and failed to install the application.

May I know how to solve this ?

Thanks,
Chin
 
I've seen this happen when trying to deploy an ActiveX control based on ATL
in your CAB package that was built for a version of ATL later than that on
the target platform. For exmaple, if your component depends on atlce400.dll,
and atlce300.dll is on the device. If the ActiveX control is part of the
CESelfRegister section, the installer will try and call DllRegisterServer on
the control. If all of the dependent DLLs are not found, LoadLibrary will
fail when trying to load your control.
 
What did you use to build the CAB have you added a custom setup dll?

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top