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

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

Post Reply
User avatar
xinjie
Posts: 108
Joined: Wed May 20, 2020 10:05 am
Location: China
Contact:

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

Post 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?
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
User avatar
robert
Posts: 4558
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

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

Post 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
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
xinjie
Posts: 108
Joined: Wed May 20, 2020 10:05 am
Location: China
Contact:

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

Post 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?
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
User avatar
robert
Posts: 4558
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

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

Post by robert »

Xinjie,

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
User avatar
xinjie
Posts: 108
Joined: Wed May 20, 2020 10:05 am
Location: China
Contact:

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

Post by xinjie »

Hi, Robert

Thanks for the clarification. I understand now.
简单的东西重复做,你能成为专家;重复的东西用心做,你能成为赢家!
Post Reply