恢复过时的 Fox Pro 应用程序

发布于 2024-11-19 21:05:18 字数 1539 浏览 3 评论 0原文

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

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

发布评论

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

评论(3

凉城 2024-11-26 21:05:19

实际上,您需要从头开始重写应用程序。

我建议做的第一件事是将项目的副本转换为 Visual FoxPro (9 SP2) 的最新版本,然后至少您有一个可以使用的 IDE 和一些基本工具,例如搜索/替换和重新格式化源代码代码以使其更具可读性。

有关基本详细信息,请参阅 http://www.alvechurchdata.co.uk/foxconvert.htm关于转换。请注意,如果原始程序使用第三方或自定义库(例如 .fll 文件),那么您将不会
能够运行转换后的程序。

FoxPro 2.6 是一种足够简单的过程语言:不幸的是,程序逻辑(几乎)不可避免地会与窗口(屏幕)定义和行为混合在一起,并且由于 SQL 内置于该语言中,因此数据访问将全部混合在一起也在那里。

如果无法聘请更有经验的人来进行转换,那么您不妨直接投入 - 还有很多了解 FoxPro2.6 的人可以在您遇到困难时为您提供帮助:从主程序开始,看看在哪里它从那里开始。

In reality, you will need to rewrite the application from scratch.

The first thing I would advise to do is to convert a copy of the project to the last version of Visual FoxPro (9 SP2), then at least you have an IDE to work in and some basic tools like search / replace, and reformatting source code to make it more readable.

See http://www.alvechurchdata.co.uk/foxconvert.htm for basic details on conversion. Note that if the original program used third-party or custom libraries (e.g. .fll files) then you won't
be able to run the converted program.

FoxPro 2.6 is a straightforward enough procedural language: unfortunately it is (almost) inevitable that the program logic will be mixed in with the window (screen) definitions and behaviour, and as SQL is built into the language then the data access will all be mixed in there as well.

If contracting someone with more experience to do the conversion is no option, then you might as well just dive in - there are still plenty of people who know FoxPro2.6 to help out when you get stuck: start from the main program and see where it goes from there.

金橙橙 2024-11-26 21:05:19

正如斯图尔特提到的,转换等...我实际上是在做 Foxpro / Visual Foxpro 并与另一个人合作,他可以​​与你签订合同,帮助你启动并理解转换并快速分析真正发生的事情。

是的,旧的 .prg 文件有点简单,但即使在旧的 FoxBase、FoxPlus、Foxpro Windows 时代,也有很多丑陋的编码人员。如果您有兴趣,请告诉我。自从微软收购福克斯之前我就一直在做它......

As Stuart mentioned, conversions and such... I actually do Foxpro / Visual Foxpro and work with another individual who would be able to contract with you to help jump-start and wrap your head around the conversion and quick analysis of what's really going on.

Yes, old .prg files are somewhat simple, but even back in the old FoxBase, FoxPlus, Foxpro Windows days, there were a lot of ugly coders out there. If you are interested, let me know. I've been doing Fox since before Microsoft bought it...

囍孤女 2024-11-26 21:05:19

FP2.6中有一个foxdoc.exe,运行时,您将拥有它调用的prg以及它使用的dbf的完整文档。希望这有帮助

There's an foxdoc.exe in FP2.6, when run, you will have full documentation which prg it calls and which dbf it uses. Hope this helps

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