Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PEMSTATUS() and DLL's
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
PEMSTATUS() and DLL's
Divers
Thread ID:
00454743
Message ID:
00454743
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform