|
-
Apr 25th, 2001, 11:27 AM
#1
Thread Starter
New Member
How to serialize multithread calls to an activeX
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?
-
Apr 27th, 2001, 05:01 AM
#2
New Member
I ran into the same thing, but I began to use process names and states. uhm.. look at:
http://www.codearchive.com/search/se...n=VB&startat=0
Hope the link worx and hope I got the right end of your story =)
Cya
-digitallaser
-
Apr 27th, 2001, 06:34 AM
#3
Thread Starter
New Member
Hi,
The link you give me is not right.
Can you give me the global step to do what i expect
thx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|