Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Automation Error


Message #1 by "Dave Debreceni" <ddebreceni@I...> on Thu, 21 Nov 2002 12:42:56 -0500
Dave,

This is a problem of vb apartment model: an object cannot be used
in another thread (well, not really...) besides the one who created it.
Basically, you cannot pass your objects to another thread unless you
do the marshalling by hand. But hey, this is vb... whoever has the time
to read my postings knows that I love vb for what it is, not for what
people want it to do.
I cannot give you a solution because I do not know the details of
your application, but (as I see it) it will not be easy.

Marco
 
> I get an error when I am trying to create an object via the web -=20
Automation error The application called an interface that was marshalled
for a different thread

  Return to Index