Dawson, Patrick wrote:
static void ShareLockFunc( CURL* pHandle, curl_lock_data Data, curl_lock_access Access, void* pUseptr ) { ... }static void ShareUnlockFunc( CURL* pHandle, curl_lock_data Data, void* pUseptr ) { ... }
What are these used for? I assume if you compile with MSVC, that you've added '-EHsc' to your CFLAGS (otherwise the 'throw' isn't safe). And BTW, your example works fine for me. Can you show some callstack? E.g. "cdb -c g share-lock-example.exe". -- --gv ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
