I am using a VFP DLL.
In code, I create an instance of the DLL and set properties on it. Before
I set the properties, I check to ensure each property is there. If the
property is there, I assign a value to it:
oDll = CREATEOBJECT("MyDll.MyClass")
IF PEMSTATUS(oDll, "MyProperty", 5)
oDll.MyProperty="Some Text"
ENDIF
My problem is that
PEMSTATUS() seems to return False even
when a property exists. And the strange part is, it works fine if I run it
as a class using
SET CLASSLIB TO.
So, is this by design (If so, why???), or is this a bug?
Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people