06-09-2015 10:31 AM
Hi
I try to load an external dll (libquickmail-0.dll) that is located in the project directory.
I have tried two different ways :
1 : LoadLibrary("e:\\CVI\\SourceFiles\\Test\\libquickmail-0.dll");
Returns The program can't start because liccurl-4 is missing....
2 : LoadExternalModule("e:\\CVI\\SourceFiles\\Test\\libquickmail-0.dll");
Returns -7 Unknown file extension
Thanx in advance
Regards Per
06-09-2015 11:27 PM
@fluidtronic wrote:
1 : LoadLibrary("e:\\CVI\\SourceFiles\\Test\\libquickmail-0.dll");
Returns The program can't start because liccurl-4 is missing....
I guess that libquickmail depends on/uses libcurl and you need to put libcurl also into a directory , which is in the library search path of your system . You may check the dependency with dependencywalker and you may read about the library search path on MSDN
06-10-2015 11:26 AM
Hi
Yes you are right. I ran the dependecywalker and there are several dll's missing. See atchment.
I found libcurl-4.dll but not libssl.dll. I hesitate to install the others until I've got all of them.
What I realy want to do is to attach file(s) to email.
I use ShellExecute(NULL,NULL,MailAdr,NULL,NULL,0); to open a new message (not sending)
I need to automatically attach files but not send. The user has to type in the body and also attach other files.
I'm not sure if the dll libquickmail-0.dll can do it but it's worth a try. Do you know of any other way ?
Regards Per