|
-
May 23rd, 2015, 09:10 AM
#3
Re: VB6 Threading, using the small DirectCOM.dll-HelperLib
 Originally Posted by The trick
Hello Schmidt! Thanks for cool code! it supported events?
No - the Demo above does not support "Classic VB-Events" currently (the higher-level
Threading-Support of the vbRichClient5.dll would allow for that though).
But the Demo as it currently is, supports "shared state" (over the shared Memory-Area,
behind the VB-Array TI() - which both sides have access to).
So, "Event-like reactions to State-Changes" can be implemented quite easily...
And the Demo does so already, by reporting in the Main-Form the state-changes
on the FPS-Member of the shared Mem-area - and in the opposite direction,
by reacting within the Threads to a state-change in the CancelThread-member
when it was set in the Main-Thread.
Olaf
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
|