Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Build-error on NewObject
Message
 
 
To
11/07/2003 11:22:08
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00809221
Message ID:
00809454
Views:
23
Hi Guillaume,

The second parameter should be the name of a class and the third - the name of DLL.
Newobject("method", "myclass.vcx", "DllName.dll"),

>I compiled a DLL from VFP which opens tables to use in my other apps.
>In those apps, if I use Newobject("method","DllName.dll"), I always get an error while building saying that the DllName visual class was not found.
>But, it works fine.
>
>If I use newobject("DllName.Method") I get no build errors but it doesn't work anymore.
>Same thing when i use CreateObject.
>
>Is there anyway to avoid the build error while still using the only syntax that works?
>
>Thanks
>
>Guillaume
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform