Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class not registered -- v. 7 error
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Class not registered -- v. 7 error
Miscellaneous
Thread ID:
00748024
Message ID:
00748024
Views:
69
I created a simple DLL in VB6 (my first DLL I've created outside of the classroom). It's just supposed to return the name of the text variable passed to it.

I made the DLL (which is supposed to register it), didn't shut down, and attempted to call it with:

objData =CREATEOBJECT("MyDLL.ILookup")
and
objData =CREATEOBJECTEX("MyDLL.ILookup")

both return the error
OLE error code 0x80040154: Class not registered.

I ran Regsvc32.exe MyDLL.dll with success, and I also found the DLL in VFP's object browser (although I had to browse for it--it was not in there automatically). In the object browser, it saw my member function.

How do I make VFP aware of my DLL?

Thanks in advance,
Joy
CLARC Services, Inc.
3500 Tamiami Trail
Port Charlotte, FL 33952
www.clarc.com
(941) 743-0108
(800) 246-5488
Next
Reply
Map
View

Click here to load this message in the networking platform