Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MT DLL with ActiveX not working
Message
 
To
23/08/2013 18:30:46
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01581215
Message ID:
01581470
Views:
55
>>>Does it work if you build it into a COM EXE?
>>
>>Yes. I guess that's my answer :)
>>
>>Using COM EXE kills my ability to multithread.
>>
>>Bummer. I really need to speed up this process.
>
>When you instanciate the COM EXE, is it showing any UI? Even popping up something like a splash screen counts as UI. SWAG, maybe there's a .DontShowUI setting for the control (?)
>
>Another option might be to spawn multiple instances of a COM EXE. Since they're separate processes I believe the OS has more options for scheduling them than with a VFP MTDLL. For example, if you have a 4 core CPU maybe you could spawn 4 instances.

Nothing visible but this ActiveX definitely doesn't work unless it's hosted on a container or form.

I was trying to use VFPC232 multithreading which (that I can tell) only supported vfp MTDLL's.

I've since moved on to using ParallelFox with this activex compiled into an .exe and now I have what I was after.

Thanks for the help.
Brandon Harker
Sebae Data Solutions
Previous
Reply
Map
View

Click here to load this message in the networking platform