Solved

compile TP 7.0 DOS code in TPW 1.5

Posted on 1997-12-08
4
662 Views
Last Modified: 2012-06-21
Is there any way to compile a program written using TP DOS 7.0 graphic functions in TPW 1.5 and have it work just as it would in TP DOS 7.0?
0
Comment
Question by:delocke
  • 2
4 Comments
 
LVL 2

Expert Comment

by:mitchell042997
ID: 1216969
I am not familiar with TPW, but I have had experience with Visaul C++, both, if I am not mistaken about TPW are for programming in Windows.  You can translate your code into TPW code, changing some numbers and values for the given mapping mode you're using in TPW.  You cannot directly port in your code from TP DOS into TPW and expect it to work (assuming TPW is indeed strictly Window's Programming).  Windows using its own device drivers for graphics, they are fairly powerful, so get to know them, or translate your old stuff into TPW code...  I would highly recommend the former suggestion over the latter.
0
 

Author Comment

by:delocke
ID: 1216970
i know that you can port text-based code by changing
Uses
CRT

to
uses
WinCRT

but i need to compile graphics functions too, and i don't want to have to learn GDI programming, especially working in Win95 with an environment written for Win3.1
0
 
LVL 2

Accepted Solution

by:
omsec earned 100 total points
ID: 1216971
if ya mean the BGI with "graphics function" you can't. Borland's Graphics Interface is not supported under windows. I think it depends what ur program does, so in any case you will find routines in Windows - Units/DLLs that do same but are called diffrent.
0
 

Author Comment

by:delocke
ID: 1216972
i see . . . too bad.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Query issue 13 405
detect keyboard input monitoring 3 399
Get notified when a TPopupMenu closes? 4 176
Convert Jpg /PNG To GIF 5 170
While it may be true that the internet is a place of possibilities, it is also a hostile environment lurking with many dangers. By clicking on the wrong link, trusting the wrong person or using a weak password, you are virtually inviting hackers to …
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question