xsharp.eu • Question on “Added support for the FoxPro runtime DLL.”
Page 1 of 1

Question on “Added support for the FoxPro runtime DLL.”

Posted: Tue Sep 24, 2024 1:37 pm
by xinjie
Hi, Development Team

I was looking through the version history of the documentation today and noticed that the Compiler section for 2.0.2.0 (Bandol RC 2) has the following description: “Added support for the FoxPro runtime DLL.”

Can anyone explain in detail what it means? In other words, how do I use the FoxPro runtime DLL in X# and what are its limitations?

Re: Question on “Added support for the FoxPro runtime DLL.”

Posted: Tue Sep 24, 2024 3:48 pm
by robert
Xinjie,

This is probably not what you expected / hoped.
Our compiler handles our own runtime DLLs a bit different from DLLs developed by others. For example:
- When compiling for a dialect we make sure that you're including certain DLLs, for example because the compiler depends on functions in that DLL.
- When compiling the functions in the runtime DLL it uses a predefined namespace for the functions class
- When there is a function in your code with the same name as a function in the runtime DLLs then your functions automatically are chosen. We are assuming you want to change the built-in behavior of our runtime

Robert

Re: Question on “Added support for the FoxPro runtime DLL.”

Posted: Tue Sep 24, 2024 4:03 pm
by xinjie
Hi, Robert

Am I to understand that if I add a reference to the VFP runtime in my project, then I can utilize some functions that are defined in the VFP runtime and not in the X# runtime?

Re: Question on “Added support for the FoxPro runtime DLL.”

Posted: Tue Sep 24, 2024 4:14 pm
by robert
Xinjie,

The runtime DLL that this entry in Whats New is talking about is XSharp.VFP.DLL

Robert

Re: Question on “Added support for the FoxPro runtime DLL.”

Posted: Tue Sep 24, 2024 4:15 pm
by xinjie
Hi, Robert

Thanks for the clarification. I understand now.