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?
Question on “Added support for the FoxPro runtime DLL.”
Question on “Added support for the FoxPro runtime DLL.”
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
Re: Question on “Added support for the FoxPro runtime DLL.”
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
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
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Re: Question on “Added support for the FoxPro runtime DLL.”
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?
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.”
Xinjie,
The runtime DLL that this entry in Whats New is talking about is XSharp.VFP.DLL
Robert
The runtime DLL that this entry in Whats New is talking about is XSharp.VFP.DLL
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Re: Question on “Added support for the FoxPro runtime DLL.”
Hi, Robert
Thanks for the clarification. I understand now.
Thanks for the clarification. I understand now.
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!