|
-
Jan 19th, 2003, 07:07 PM
#1
Thread Starter
Good Ol' Platypus
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)
-
Jan 20th, 2003, 08:06 AM
#2
Frenzied Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|