|
-
Jan 24th, 2020, 05:01 AM
#1
VB6 Threaded Forms (simple Demo)
As the title says, just a simple Demo which might help to "find ground again", when it comes to VB6-threading.
(there's certainly a whole lot of overcomplicating, unnecessary stuff out there).
The Demo shows real InProcess-Multithreading via a simple VB6-AX-Exe-Project.
There are no API-calls necessary, nor are there any Assembly-hacks - it's just plain VB6 - running threaded Forms in STAs.
Within the threaded Form, an external (OCX-based) Control gets loaded (since that recently came up).
To get things running:
- open and compile ExternalControl.vbp first
- then open and compile AxThreading.vbp
Ok, here the Zip:
AxExeThreading.zip
Addition:
Since the question came up, how to work with "Project-Private UserControls" (instead of loading a Control
from an external OCX onto the threaded Form, as covered in the original Demo-Zip above)...
Here a slightly changed version, which covers that case (by hosting the Thread-Forms, as well as the Private UCs in a separate AX-Dll-Project):
AxExeThreading2.zip
Have fun,
Olaf
Last edited by Schmidt; Feb 5th, 2020 at 12:58 PM.
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
|