FoxPro 和 VB6 - 调用函数

发布于 2024-12-03 19:13:17 字数 187 浏览 1 评论 0原文

我正在构建一个应用程序(用 vb6 编写),该应用程序使用来自第三方应用程序(用 Foxpro 编写)的数据 问题是foxpro程序有一个计算税金的函数,而且,它的逻辑够复杂的 用vb6再次编写它。另外,如果将来功能发生变化,我不想编写修复vb6。 我需要做的是,以某种方式从 vb6 程序中调用这个 Foxpro 函数,并获取它的结果。 有办法做到这一点吗?

I am building an application (in vb6) that uses data from a third party application (written in foxpro)
The problem is that the foxpro program has a function to calculate taxes, and, its logic is complex enough
for writing it again in vb6. Plus, if the function changes in the future, I do not want to write fix the vb6.
What I need to do is, somehow, call this foxpro function from the vb6 program, and get it results.
Is there a way to do that?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜无邪 2024-12-10 19:13:17

是否可以这样调用取决于 FoxPro 程序。如果它有一个可以实例化的 COM 对象,那么您就有一个选择。或者,如果应用程序允许您传递参数来告诉它您想要什么,这是另一种可能性。

这是现成的应用程序还是自定义应用程序?换句话说,你有源码和修改的可能性吗?

添马舰

Whether you can call it that way depends on the FoxPro program. If it has a COM object you can instantiate, you have one option. Alternatively, if the application lets you pass parameters in to tell it what you want, that's another possibility.

Is this an off-the-shelf application or a custom application? In other words, do you have source and the possibility of modifying it?

Tamar

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文