AccessBlog.net

News, links, downloads, tips and tricks on Microsoft Access and related

About Me Search
Alex
Name:Alex Dybenko

Location:Moscow, Russia

Monday, February 18, 2008

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

Technorati tags:

0 Comments:

Post a Comment

<< Home