General information
Category:
ActiveX controls in VFP
Title:
Class not registered error
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only