Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change Declare DLL location issue
Message
From
09/01/2003 04:42:25
 
 
To
09/01/2003 02:42:47
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00739701
Message ID:
00739709
Views:
12
>Hi,
>
>If we are using some external DLL, we must declare it first
>like
>
> DECLARE xxxx IN xxxxx
>
> For win32 API, we declare it like
>
> DECLARE xxx IN Win32API
>
>
>Can we copy the DLL to our window system folder and declare it
>like
>
> DECLARE xxx IN C:\TEST\XXX.DLL
>
>
>If not, any way to overcome this issue as I don't want the
>DLL to be in the same folder as my application.
>Please advise. Thank you

Yes, you can. Let's say you copy the dll into c:\temp so the declaration is like this

Declare xxx in C:\Temp\dll.dll

But if you copy to windows system folder then you don't have to include the directory name. It will search automatically. All you have to do is

Declare xxx in dll.dll

HTH
Herman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform