Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Objects in a COM objec
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00795463
Message ID:
00795814
Views:
24
Do you've classlib included into DLL? Did you try to reference this classlib w/o path just by name?
LPARAMETERS oContainer, cName
sClassLib = "cr_actx.vcx"
oContainer.NewObject(cName, "crControl", sClassLib)
>I'm adding a control to a container inside a DLL
>at runtime. The container is passed in, and the
>object is added to it.
>
>It was working, but I did something to mess it up.
>
>If the VCX with the object is in the same folder
>as my test, it works.
>
>When I build the DLL and run from another location,
>I get a classlib not found error.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform