Silverfrost Forums

Welcome to our forums

Runtime linking for DLL

27 Jul 2016 3:43 #17849

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

27 Jul 2016 7:27 #17853

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.

Please login to reply.