|
-
Mar 27th, 2020, 02:57 AM
#11
Hyperactive Member
Re: [VB6] - Module for working with multithreading.
 Originally Posted by The trick
jsvenu
When you compile an executable file with apartment/single threading model it compiles the different code. So you can't use single threaded code like apartment. I don't understand your end goal. This module is intended to use threading in StandardEXEs ONLY.
The ActiveX-DLL mode already has ability to use threading, the same with ActiveX-EXE.
Dear Trick,
I know that ActiveX-DLL already has ability to use threading.The same I did in ExeFormCreator project in FormCreator
ActiveX-DLL but in single threaded mode for creating a form object of standard exe (ThreadSingle project) in FormCreator Activex-DLL project set to Single Threaded threading Model.
My end goal is to achieve the same thing using FormCreator Activex-DLL project set to Apartment Threaded threading Model.
Same is the case with http://www.vbforums.com/attachment.p...7&d=1578834223
when I try to change the CallbackThread standard dll to activex dll but it is working perfect when CallbackThread activex dll is set to single threaded and works partially when I set to it to Apartment threaded.
regards,
JSVenu
Last edited by jsvenu; Mar 27th, 2020 at 03:09 AM.
Tags for this Thread
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
|