usage dll from vb6

  • Thread starter Thread starter Maxim
  • Start date Start date
M

Maxim

Hi!
I have a very strange problem for one computer (XP - SP1):
I run VB6 program that include usage of dll (BankC.dll - the name)
public declare function XXX lib "BankC.dll" ...
I put this dll in windows\system32 directory and get run-time error 53 -
File not found - BankC.dll but I see this file !!!
I put him in current directory too.
Other computer in office run it properly
Why I get it?
Thanks
Max
 
Hi,

If it runs on other systems successfully, then the thoughts I have are:

- Is the PATH environment set correctly on the machine in question?
- Is the file damaged? Tried a new copy?
- Tried re-registering it with the system? (if self registering, use
regsvr32 from the run prompt)

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Associate Expert - WindowsXP Expert Zone

Windows help - www.rickrogers.org
 
Maxim,

Error 53 when calling functions from custom DLL:
http://www.mvps.org/access/bugs/bugs0019.htm

-and-

<Quote>
If the library has a dependency to another DLL not installed in the client
PC, you also receive the file not found error. Open the DLL with depends.exe
and see if you have included all the dependecies in your installation
package.

--
Eduardo A. Morcillo [MS MVP VB]
</Quote>

If that does not help, try this in VB groups.

--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org


Hi!
I have a very strange problem for one computer (XP - SP1):
I run VB6 program that include usage of dll (BankC.dll - the name)
public declare function XXX lib "BankC.dll" ...
I put this dll in windows\system32 directory and get run-time error 53 -
File not found - BankC.dll but I see this file !!!
I put him in current directory too.
Other computer in office run it properly
Why I get it?
Thanks
Max
 

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