Re: Getting Started with X# -- Converting a VFP Application or DLL
Posted: Tue Jun 04, 2024 4:45 pm
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
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