Posted: Fri Sep 19, 2003 8:32 pm Post subject: Threads
I am trying to use an ocx created by programmer friend, This ocx has threads
in it.
It crashes VB6 IDE.
Question, Is it safe to use multi threaded ocs's?
-Lou
Archived from group: microsoft>public>vb>enterprise
Posted: Sat Sep 20, 2003 3:49 am Post subject: Re: Threads
I guess this control must, therefore, be written in C++, or at least
something other than VB6
A multi-threaded control is OK as long as the additional threads are "well
behaved". If they try to call-back any VB code, or access any VB objects,
then it will crash.
Note that there was a similar question to yours posted in
microsoft.public.vb.general.discussion on 12-sep-2003, entitled "Calling
back VB code from a multithreaded component". Have you read that one? It
might give you some more information.
Tony Proctor
"Lou" wrote in message
news:#DSYl0ufDHA.3248@tk2msftngp13.phx.gbl...
> I am trying to use an ocx created by programmer friend, This ocx has
threads
> in it.
> It crashes VB6 IDE.
> Question, Is it safe to use multi threaded ocs's?
>
> -Lou
>
>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum