I want to create a multithreaded ocx that runs on its own thread and can run simultaneouly with my app something like a timer....
I do not want to use the CreateThreadAPI for some limitations I have!
Any help would be appreciated.
Printable View
I want to create a multithreaded ocx that runs on its own thread and can run simultaneouly with my app something like a timer....
I do not want to use the CreateThreadAPI for some limitations I have!
Any help would be appreciated.
AFAIK the current version of VB supports only apartment threaded COM objects.
VB 7 will support free-threaded components.
Select the "Threading Model" from Project/Properties.
True multithread VB5 or VB6 source code communication control:
http://www.banasoft.com/DownLoad/BNComm.exe