By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,571 Members | 2,619 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,571 IT Pros & Developers. It's quick & easy.

VB.Net to VC++ ATL interface slow

P: n/a
I have a VB.Net application in VS2005 that communicates to a ATL written in
VC++ loaded as a project resource. The communications with the ATL DLL
library work well in the VB primary thread. But if I try and communicate in
the same way with the ATL in a secondary thread (System.Threading.Thread),
then the communications speed with the ATL slows down by a factor of about
100X. I am assuming that tis is beacuse of some marshalling or other overhead
that is done differently in the secodary thread. How can I communicate with
the ATL in a secodary thread and still get the same performance as the VB
primary thread? Is there a better way to get multithreaded access to the ATL
without a performance hit? PLEASE HELP.
Feb 20 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.