Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEPublic dll can not be found by calling program
Message
 
 
To
21/10/2002 15:45:56
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00713637
Message ID:
00713738
Views:
17
Beth,
Could you post the class definition here? Is a DLL created? If so, do the necessary registry entries exist after you build it?

>I am using VFP 6.0 sp5, NT 4.0 sp6.
>
>I created an OLEPublic object back in VFP 5 and am now trying to make a new one in VFP 6.
> Writing and compling the program is no problem. But when I build my calling program with the following code:
>
>local nhandleAdhocole, ncount, thearray[1], oAdhoc
>dimen thearray[1,1]
>thearray[1,1] = "Test"
>SET OLEOBJECT ON
>nhandleAdhocole = createobject("testing.test1")
>oAdhoc = nhandleAdhocole
>ncount = oAdhoc.ArrayDisplay(@thearray)
>release oAdhoc, nhandleAdhocole
>release all extended
>
>the program comes back and says that class "testing.test1" is not found.
>
> oh, Testing is the exe name
> test1 is the class name for OLEPublic
>
>any clues that someone can send me??
>
>TIA,
>Beth
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform