Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MT DLL with ActiveX not working
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
MT DLL with ActiveX not working
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01581215
Message ID:
01581215
Vues:
69
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform