Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PEMSTATUS() and DLL's
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
PEMSTATUS() and DLL's
Miscellaneous
Thread ID:
00454743
Message ID:
00454743
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform