Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visual FoxPro DLL
Message
De
16/11/2004 06:13:28
Madan Singh
Overnite Express Ltd.
New Delhi, Inde
 
 
À
Tous
Information générale
Forum:
Oracle
Catégorie:
Problèmes
Titre:
Visual FoxPro DLL
Divers
Thread ID:
00961644
Message ID:
00961644
Vues:
66
Hello,

I have a defined a class using the following code in myprg.prg and then build a DLL file (mydll.dll).
*---------------------------------------------*
DEFINE CLASS testclass as CUSTOM olepublic
PROCEDURE FormatPrice
PARAMETERS MyPrice AS String
WAIT WIND MyPrice
RETURN MyPrice
ENDPROC
ENDDEFINE
*---------------------------------------------*
**Created an object
xobj = CREATEOBJECT("mydll.testclass")

xobj.Formatprice

While using the function, it is giving an error like :-

OLE IDISPATCH EXCEPTION CODE 2031 FROM MYDLL.TESTCLASS
MYDLL.TESTCLASS: .FORMATPRICE MYPRG.PRG ERROR IN LINE
4 USER INTERFACE OPERATION NOT ALLOWED AT THIS TIME.
2031...

Can someone advice me how to RESOLVE the problem.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform