I want to run some url, i used curl in windows environment for it.i downloaded curl executable from http://curl.haxx.se/dlwiz/?type=bin&os=Win64 and saved curl.exe in C
Please check if the dll in application is of the same version as that in the sys32 or wow64 folder depending on your version of windows.
You can check that from the filesize of the dlls.
Eg: I faced this issue because my libeay32.dll and ssleay32.dll file in system32 had a different dll than my libeay32.dll and ssleay32.dll file in openssl application.
I copied the one in sys32 into openssl and everything worked well.