View previous topic :: View next topic |
Author |
Message |
Clay
Joined: 20 Mar 2014 Posts: 23
|
Posted: Wed Jul 27, 2016 4:43 pm Post subject: Runtime linking for DLL |
|
|
We've always linked DLLs to OBJ files as part of compiling and building the EXE. Is there a way to link the DLL at run time instead of at compile time? My goal is to allow the user to navigate to a desired DLL which will contain pre-defined functions so that the user can direct the program to make use of different DLLs each time the program is run.
Thanks for any ideas or suggestions!
Clay |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Wed Jul 27, 2016 8:27 pm Post subject: |
|
|
If you are creating a Win32 application via SLINK then one approach is to use rlo rather than lo to load. This provides a delayed load. Failing this, there are other possibilities. |
|
Back to top |
|
|
|