General information
Category:
Object Oriented Programming
Thanks Sergey, but when I use your syntax, I get a message saying the "Opendll.dll" does not exist?
I used : newobject("Opendbf","Opendbf","Opendll.dll")
If I try : ? file("Opendll.dll"), VFP returns true ???
Any idea?
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?
Previous
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