R
raajitlall
I am using this statement to call a DLL and it works fine.
Declare Sub M_STAR Lib "\\enaus00002512\Jer's Pub\mstarexcel\mstar.dll"
(One As Long, bs As Single, Hcff As Long, ByVal Vf As String, L As Long
.....
Now what I want to do is something like this ....
Declare Sub M_STAR Lib app.path & "mstar.dll" (One As Long, bs As
Single, Hcff As Long, ByVal Vf As String, L As Long ....
but VB6 does not allow me to do that. I cannot register this DLL so I
have to use the declare statement. Is there any other way I can call
the DLL from the folder that the application is in?
Raajit
Declare Sub M_STAR Lib "\\enaus00002512\Jer's Pub\mstarexcel\mstar.dll"
(One As Long, bs As Single, Hcff As Long, ByVal Vf As String, L As Long
.....
Now what I want to do is something like this ....
Declare Sub M_STAR Lib app.path & "mstar.dll" (One As Long, bs As
Single, Hcff As Long, ByVal Vf As String, L As Long ....
but VB6 does not allow me to do that. I cannot register this DLL so I
have to use the declare statement. Is there any other way I can call
the DLL from the folder that the application is in?
Raajit