|
-
April 8th, 1999, 10:51 PM
#1
Is there a way to specify a path with static DLL loading?
I can specify the path for a dynamically loaded DLL by specifying the path in a LoadLibrary call like this:
hDll = LoadLibrary("C:\\Path\\dll.dll");
Is there a way to similarly hard-code the path of an individual DLL when I link with .lib files instead of using LoadLibrary?
I'm using VC++ 5.0 on Windows 98.
-
April 10th, 1999, 03:12 PM
#2
Re: Is there a way to specify a path with static DLL loading?
In the linker options instead of just specifying the library file name (and having it located on the library path list) you can supply relative or absolute paths to the individual libraries.
Hope that helps.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|