Simus
Apr 25th, 2001, 11:27 AM
Hi,
I have created a simple activeX in VB.
2 functions that displays messagebox.
then with a VC program, i create 2 threads.
thread1 call fct1
thread2 call fct2
but when thread2 try to call fct2, it crashes in a vb dll.
Is there way for an VB activeX to support this kind of calls?
thanks!
Moreover, i explain what i try to do.
I make a multithread VC program. but i use an ActiveX that does not support multithread access, then the idea is to create a VB activeX which will be a wrapper to the other activeX and then i will have all the calls to the object automatically serialize.
Any idea?
I have created a simple activeX in VB.
2 functions that displays messagebox.
then with a VC program, i create 2 threads.
thread1 call fct1
thread2 call fct2
but when thread2 try to call fct2, it crashes in a vb dll.
Is there way for an VB activeX to support this kind of calls?
thanks!
Moreover, i explain what i try to do.
I make a multithread VC program. but i use an ActiveX that does not support multithread access, then the idea is to create a VB activeX which will be a wrapper to the other activeX and then i will have all the calls to the object automatically serialize.
Any idea?