Click here to Skip to main content
15,885,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
"LoadLibrary("project\imgscan.ocx")failed - The specified Module could not be found ", How i can solve this problem
Posted

1 solution

Try specifying the full path.

Also remember that any dependencies also need to be in the default search path.

[edit]

Another potential issue could be a 64 bit process trying to load a 32 bit ocx (or the reverse). That won't work.
 
Share this answer
 
v2
Comments
NoushadSaidalavi.KP 26-Oct-10 11:13am    
path is correct,where from i get dependencies for this , i have no idea
Nish Nishant 26-Oct-10 11:17am    
Path seems to be relative there. You can't be sure that the current directory is what you expect it to be. I'd say try the full path once before trying other changes.
Nish Nishant 26-Oct-10 11:17am    
And as for dependencies, use Dependency Walker on the ocx.

[edit] somehow this comment shows up ahead of my 1st comment. Not sure why :-)
NoushadSaidalavi.KP 26-Oct-10 11:34am    
But Some Other .ocx in the same folder registered properly,
is self registration possible for .ocx
Nish Nishant 26-Oct-10 11:37am    
Is this a 64 bit OS? And if so are you running a 64 bit app?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900