Note that there are some explanatory texts on larger screens.

plurals
  1. POlibcurl - dll error on 32bit but not 64bit
    primarykey
    data
    text
    <p>This is a new thread started from post (<a href="https://stackoverflow.com/questions/12107885/libcurl-lib-where-can-i-get-it">link</a>).</p> <p>I have used the suggested curl library (<a href="http://curl.haxx.se/download/libcurl-7.19.3-win32-ssl-msvc.zip" rel="nofollow noreferrer">link</a>) for building libcurl into my dll. I link in libcurl_imp.lib and have created library routines for calling the curl methods. This all works a treat - BUT ONLY ON A 64BIT MACHINE? - if I try to run the same dll/binary app on a 32bit XP machine it just dumps out immediately. In fact all my applications abort - and they make no reference to my new library routines, they just use the dll. It seems that because I build in the cURL calls into my dll it immediately aborts the spawned process– I just get –</p> <blockquote> <p>1 + Done(134) testapp</p> <p>5656 Abort testapp</p> </blockquote> <p>I have a printf statement immediately after main but I get no output on the command line.</p> <p>I then removed all my new library functions from the dll apart from one, and in this all I do is –</p> <p><code>CURLcode res = curl_global_init(CURL_GLOBAL_DEFAULT);</code></p> <p>This one line causes all my apps to fail on 32bit when built into my dll – comment it out and they all work.</p> <p>As stated, the same dll/binary works fine on my 64bit machine. The 64bit machine has the same curllib.dll runtime as the one on my 32bit machine.</p> <p>For info, my build machine is 32bit, we have productions machines that are both 32 and 64 bit.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload