Results 1 to 3 of 3

Thread: How to serialize multithread calls to an activeX

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    France
    Posts
    13

    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?

  2. #2
    New Member
    Join Date
    Apr 2001
    Location
    Netherlands, Purmerend
    Posts
    2

    Talking

    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

  3. #3

    Thread Starter
    New Member
    Join Date
    Mar 2001
    Location
    France
    Posts
    13
    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
  •  



Click Here to Expand Forum to Full Width