[RESOLVED] Problem accessing dll. Runtime error 53
Hello all,
I have a problem. I received a dll and some small vb code to exemplify the accessing of the dll, from a client. I put the app on a shared drive and the really weird thing is the application is working for me but only me. All other users get an runtime error 53: File not found.
I have this declaration:
Code:
Public Declare Function SapLogin _
Lib "TlsSapPdm.dll" _
(ByVal SapSystem As String, ByVal LogFileName As String) _
As Long
And I get the error here:
Code:
SapHandle = SapLogin(SapHost, LogFile1)
What could be the reason of the error? The dll file is in the same folder of the application. I don't have the dll on any system folder!
Re: Problem accessing dll. Runtime error 53
Might there be registry entries for the DLL? I've read about certain techniques for creating DLLs in which a registry entry is still required even though the DLL isn't being used as an AxtiveX component.
The only other thought on this is perhaps there is some sort of permissions issue.
Re: Problem accessing dll. Runtime error 53
I found the problem. The dll that I received was calling librfc32.dll. I don't know from where but I had this one. I think from vb sp 5, not sure though. Anyway, putting this dll also in the applications path resolved the problem.
Thank you Dependency Walker :) and you WizBang for trying to help!