How to load dll from user specified path
When you want to run some function from DLL, and declare this function, DLL should be in windows\system32 folder, or some folder motioned in PATH variable, else you have to specify a path to it. But what if you don’t know a path to DLL, if it shipped with your application and can be installed at any place? How to load dll from user specified path code sample shows this. MAPISendMail function declaration is used just for sample, please make sure that you replace it with right declaration before running the code
0 Comments:
Post a Comment
<< Home