Hello to all
First, I'm using TextDynamic in Visual FoxPro 9 sp2 and it works fine with the exeption of what I explain you below.
I CAN NOT ACCESS OTHER INTERFACE LIKE .MEMO OR PAGESIZE
I read on the forum that nDragan made TextDynamic work under Visual Foxpro.
I work with VFP 9 sp2 and i have tested all the possible solutions for two days but without success.
Here is my starting code:
ThisForm.oRTF1.editorStart("xxxxxxx", "zzzz-zzzz-zzzz-zzzz-zzzz")
ThisForm.oRTF1.setlanguage("FR")
ThisForm.oRTF1.SetLayout( "TDBtnMini.pcc", "Default", "", "main", "main")
ThisForm.oRTF1.SetEditorMode( 0,1, 6,0)
*/ try to access other interfaces
oMemo = GETINTERFACE(oRTF1, "IWPMemo", "WPTDynInt.ocx")
When I use function GETINTERFACE (), I receive the following error:
OLE error code 0x80004002: Unknown COM status code.
if i try to Enable ActiveX dual interface with SYS(2333, 1), then the VFP Form crash on the first function (Editor Start) with this error:
OLE exeption error: Exeption code c0000005. OLE object may be corrupt
I would be very happy if you could explain me how to make TextDynamic work under Visual Foxpro. An example of code that work with VFP would be welcome.
Thank you in advance.
Greetings from Switzerland