Multi-thread sample (General questions)
Hello,
Is the FtpDlx multi-thread safe ?
I am looking for a multi-thread sample for FtpDLX.
I cannot find any sample under VC folder.
I have followed the sample under VCATLConsoleApp
to make multi-thread, inside each thread i Create Instance for IwodFtpDLXComPtr and a new object for wFtpEvents,
every thing seem working greate except when i do
delete pwEvents; give me access violation only of the second thread.
Please help ?
Re: Multi-thread sample
Hi Alvin,
Yes, the component can be used for multi-threaded apps. Just keep it apartment threaded.
As for the problem you're experiencing with Access violation, I can't really tell what could be wrong without seeing the actual code.
If you wish, you can send us the code to [mail=techsupport@weonlydo.com]techsupport@weonlydo.com[/mail] and we'll check it out.
Regards,
Damba
Re: Multi-thread sample
Hi,
wodDamir, seem I too have problem with multithreaded crashing. And I send e-mail to techsuppor@weonlydo.com.
I spent two days to trying fix this bug in my own code :(
P.S. My version of component 2.8.0.408.
Thanks, Roman