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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only