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

This forum is meant for questions about the Visual FoxPro Language support in X#.

Jeff Stone
Posts: 37
Joined: Fri Jun 07, 2019 4:16 pm

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

Post 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
User avatar
wriedmann
Posts: 3755
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

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

Post 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
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Jeff Stone
Posts: 37
Joined: Fri Jun 07, 2019 4:16 pm

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

Post by Jeff Stone »

Hi Wolfgang,

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

Regards,

Jeff
Post Reply