Results 1 to 3 of 3

Thread: CreateThread + WaitForSingleObject

  1. #1

    Thread Starter
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238

    CreateThread + WaitForSingleObject

    I juz started a simple program with CreateThread, WaitForSingleObject and CreateEvent

    My program running fine in VB IDE, but after compliled into EXE, I can even run it.

    Can anyone help?
    Attached Files Attached Files

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    I've used multithreading in VB before but as you said when compiled it makes an illegal operation (the same as SetWindowsHookEx, works in the IDE but compiled it doesn't).
    That is one of the downsides of VB. It works just fine in C++.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    PowerPoster Chris's Avatar
    Join Date
    Jan 1999
    Location
    K-PAX
    Posts
    3,238
    So, is there any suggestion or reference web site that I can visit?
    I did write the CreateThread in VC++ and it f=does working. But when I try it at VB

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