Thank you for your contribution. I don't use libcurl. The typical errors I get are random unhandled exception, access violation, null pointer exceptions ...

I've discovered that a key point is using the correct C Runtime (Multithreading, of course, options /MD, /MDd, /MT or /MTd). Apart from that, I think the options you're using are correct.

Cheers,
Stefano

Mark Nüßler wrote:
hello users,

i have taken the modified sample to test it with the
normal echo-service in my enviroment :

winXP
vs2005cpp
axis2_c (svn 28.06.07) build with
ENABLE_LIBCURL = 1
LIBCURL_BIN_DIR = mypath\libcurl-7.15.1-msvc-win32-ssl-0.9.8a-zlib-1.2.3

when i start more then one thread, i have different kinds of errors
and the program crashes.

i am not sure, if i have done something wrong with the parameters
of the studio ...

C/C++ :
/Od /I "X:\ws\axis2_c\include" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /nologo /c /Wp64 /ZI /TP /errorReport:prompt

Linker :
/OUT:"X:\_tmp_axis\multi_echo_client\Debug\multi_echo_client.exe" /INCREMENTAL /NOLOGO /LIBPATH:"X:\ws\axis2_c\lib" /MANIFEST /MANIFESTFILE:"Debug\multi_echo_client.exe.intermediate.manifest" /DEBUG /PDB:"x:\_tmp_axis\multi_echo_client\debug\multi_echo_client.pdb" /SUBSYSTEM:CONSOLE /MACHINE:X86 /ERRORREPORT:PROMPT axiom.lib axis2_engine.lib axis2_parser.lib axutil.lib kernel32.lib

... or if there is an issue around libcurl.dll. one of the errors that
occurs is, that the program breaks at axis2_libcurl.c in line 305
"curl_easy_perform (handler);"

at the moment this is not critical for me, i just want to give my
feedback in "testing client multithreading on Windows"

thx derMark


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to