Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class not registered error
Message
De
03/10/2005 09:23:01
Randy Witt
Diamond Vogel Paints
Orange City, Iowa, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Class not registered error
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01055484
Message ID:
01055484
Vues:
71
I am encountering the "Class Not Registered" error when trying to use a TreeView & associated ImageList control on a form. This form works ok in a test application (which contains nothing but the form & a wrapper main .prg) when run from within VFP. When I compile the form inside its actual intended application & run it as a standalone .exe outside of VFP, the "Class not registered" error occurs. One additional aspect is that the .exe runs under an alternate login thread, using WinAPI functions "LogonUser" & "ImpersonateLoggedOnUser". Any suggestions?

P.S. MSComCtl.OCX is in my Windows/System32 folder. I even ran RegSvr32 w/ it, just in case. The issue seems to stem from the alternate login being used by the .exe thread.

Thanks,
Randy W.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform