Results 1 to 2 of 2

Thread: Are threads completely broken in VB?

  1. #1

    Thread Starter
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134

    Are threads completely broken in VB?

    See the thread subject; my question is, are they? I have my threads coded correctly but one of two things will happen:

    1. Threads will not be created (happens when I step through the code line by line).
    2. Program will crash, referencing invalid memory at 0x00000013 (something like that). This happens when I run the compiled exe or run it in the IDE. The thread IDs I get are valid, I believe.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  2. #2
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    Short answer: yes MSDN acknowledges there is a problem.

    In some instances compiling to pcode will allow your app to run threaded. If you are getting GPF's from the IDE, you have some kind of other problem. For VB 6 do you have SP5?

    We code all our multithreaded stuff either in MSVC++ or in PowerBasic. VB6 isn't reliable.

    This article here claims to get around the problems. Since I have other compilers, I don't care - you might

    http://www.planet-source-code.com/xq...s/ShowCode.htm

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