xsharp.eu • Getting Started with X# -- Converting a VFP Application or DLL - Page 4
Page 4 of 4

Re: Getting Started with X# -- Converting a VFP Application or DLL

Posted: Tue Jun 04, 2024 4:45 pm
by Jeff Stone
Thanks Wolfgang and Chris.

Chris, all of the undeclared variables are fields. So, this will cleanup easily. Also, thanks for mentioning the SEEK issue. I could have wasted a lot of time on it.

Wolfgang, are you saying that I should change "Class fpimport" as presented in my original code to:
[ComVisible(TRUE)];
[Guid("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx")];
[InterfaceType(ComInterfaceType.InterfaceIsIDispatch)];
[ProgId("FP_ImportX.FPimport")];
CLASS fpimport IMPLEMENTS IfpimportTester

Sorry to be so dense.

Regards,

Jeff

Re: Getting Started with X# -- Converting a VFP Application or DLL

Posted: Tue Jun 04, 2024 5:56 pm
by wriedmann
Hi Jeff,
I have to try that to see if it works even without the interface.
I will do that tomorrow morning, have to finish some other things before going to sleep.
Wolfgang

Re: Getting Started with X# -- Converting a VFP Application or DLL

Posted: Wed Jun 05, 2024 4:00 pm
by Jeff Stone
Hi Wolfgang,

Whatever help you provide and whenever you provide it, it is greatly appreciated.

Regards,

Jeff