Code execution cannot proceed because libquickmail

2019-08-18 08:06发布

问题:

I was looking for a quick and easy way to automatically send a file to my gmail for debugging purposes on multiple remote machines. However I am apparently having linking issues which I can't seem to solve.

I downloaded the win64 zip file of libquick, IDE is CodeBlocks, compile target is x64 and running on 64-bit Windows 10.

There were 10 files that came in the zip folder, in lib/include/bin. They were

bin > libquickmail-0.dll, libquickmaillight-0.dll, quickmaillight.exe.

include > quickmail.h.

lib > libquickmail.a, libquickmail.dll.a, libquickmail.la, libquickmaillight.a, libquickmaillight.dll.a, libquickmaillight.la.

I linked to all of the .a/.dll.a/.la and .dll files and it still gives me this error: Code execution cannot proceed because libquickmail-0.dll was not found

I have no idea what the problem is and am very open to ideas. Thank you for your time.

回答1:

Either copy the libquickmail-0.dll to the same directory as your linked executable or add the libquickmail bin directory to your path. This will allow Windows to find the DLL to run the executable.