Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MT DLL with ActiveX not working
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
MT DLL with ActiveX not working
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:
01581215
Views:
70
I've created a multithreaded dll

The dll in turn instantiates a container that hosts an ActiveX control. I have to host the activex control on a container because the activex control bonks if you try to instantiate it with newobject() directly in code.

I've verified that my code in the dll runs fine within VFP.

When I try to call my function in the dll from VFP I get error# 1426 message: OLE error code 0x80004005: Unspecified error.

This error happens on the line of code in the dll that tries to instantiate the container that hosts the ActiveX control.

FWIW - The intent here is to multi-thread this process for speed. For now though I can't even get the dang COM Server working.

Any ideas on what I'm doing wrong or how to further debug?
Brandon Harker
Sebae Data Solutions
Next
Reply
Map
View

Click here to load this message in the networking platform