lets assume you want to make the most compatible program ever.
what linking method should you use?
import - when library doesnt contain function - you ugly message box.
LoadLibrary - when library doesnt contain function - you cant load only a part of your app, instead of a process.
what is better?
what should be used?
i thtink that LoadLibrary, because you load only those functions used at the moment.
You can free memory if you are not going to use function atm.
However dlls usually do not take much memory, is it worth it?
|