Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class not registered error
Message
From
03/10/2005 09:23:01
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Class not registered error
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01055484
Message ID:
01055484
Views:
68
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.
Next
Reply
Map
View

Click here to load this message in the networking platform