Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual FoxPro DLL
Message
From
16/11/2004 06:13:28
Madan Singh
Overnite Express Ltd.
New Delhi, India
 
 
To
All
General information
Forum:
Oracle
Category:
Troubleshooting
Title:
Visual FoxPro DLL
Miscellaneous
Thread ID:
00961644
Message ID:
00961644
Views:
67
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.
Next
Reply
Map
View

Click here to load this message in the networking platform