Board index » delphi » looking for wincrt.pas
SuperMark
![]() Delphi Developer |
SuperMark
![]() Delphi Developer |
looking for wincrt.pas2004-04-15 02:47:13 AM delphi0 Hello, I have just download a sample project and it uses wincrt.pas library and I can't find it on the internet. does anybody knows where can I find it? or please send it to my personal email account In advance Thanks a lot for your help |
Nick Hodges (TeamB)
![]() Delphi Developer |
2004-04-15 04:01:36 AM
Re:looking for wincrt.pas
SuperMark writes:
QuoteI have just download a sample project and it uses wincrt.pas library Remove the reference, and the application should run in a console window. -- Nick Hodges -- TeamB Lemanix Corporation -- www.lemanix.com Read my Blog -- www.lemanix.com/nick |
Uffe Kousgaard
![]() Delphi Developer |
2004-04-15 04:44:42 AM
Re:looking for wincrt.pas
"SuperMark" <supermark1973NOSPAM@PLEASE?hotmail.com>writes
Quote
|
Chee Wee
![]() Delphi Developer |
2004-04-15 12:37:57 PM
Re:looking for wincrt.pas
On 14 Apr 2004 12:01:36 -0800, "Nick Hodges (TeamB)"
<XXXX@XXXXX.COM>writes: QuoteThat was a Delphi 1 unit, and I doubt that you will find it anywhere, |
Mark Vaughan
![]() Delphi Developer |
2004-04-15 07:48:08 PM
Re:looking for wincrt.pas
"SuperMark" <supermark1973NOSPAM@PLEASE?hotmail.com>wrote in
QuoteI have just download a sample project and it uses wincrt.pas library -- Mark Vaughan ___________ Visit the Numerical Methods in Pascal web page at www-rab.larc.nasa.gov/nmp/fNMPhome.htm |
SuperMark
![]() Delphi Developer |
2004-04-17 02:49:21 AM
Re:looking for wincrt.pas
Thanks for your help!!
"Mark Vaughan" <XXXX@XXXXX.COM>escribi?en el mensaje Quote"SuperMark" <supermark1973NOSPAM@PLEASE?hotmail.com>wrote in |
Will DeWitt Jr.
![]() Delphi Developer |
2004-04-18 03:36:57 PM
Re:looking for wincrt.pas
Nick Hodges (TeamB) writes:
QuoteThat was a Delphi 1 unit, and I doubt that you will find it anywhere, Will -- Want a 64-bit Delphi compiler for AMD64 / IA-32e? Vote here-- qc.borland.com/wc/wc.exe/details |
Nick Hodges (TeamB)
![]() Delphi Developer |
2004-04-19 04:42:38 AM
Re:looking for wincrt.pas
Will DeWitt Jr. writes:
QuoteIt's unfortunate Borland didn't include it as a compatibility unit. console window. -- Nick Hodges -- TeamB Lemanix Corporation -- www.lemanix.com Read my Blog -- www.lemanix.com/nick |
Will DeWitt Jr.
![]() Delphi Developer |
2004-04-19 05:11:48 AM
Re:looking for wincrt.pas
Nick Hodges (TeamB) writes:
QuoteGood grief, why? The exact same calls can be sent to the real procedure DoneWinCrt; procedure WriteBuf(Buffer: PChar; Count: integer); procedure WriteChar(Ch: char); function KeyPressed: boolean; function ReadKey: char; function ReadBuf(Buffer: PChar; Count: integer): integer; procedure GotoXY(X, Y: integer); function WhereX: integer; function WhereY: integer; procedure ClrScr; procedure ClrEol; procedure CursorTo(X, Y: integer); procedure ScrollTo(X, Y: integer); procedure TrackCursor; procedure AssignCrt(var F: Text); ---- If you remove the reference, it won't work at all if it uses any of those functions. Only if it uses Write/WriteLn and Co. would it continue to work correctly, and even then, the look/appearance of it would fail. The regular Crt unit exposed even more functionality. It took a half hour to port BP7's WinCrt.pas to Delphi 7 (I'll admit I rarely used it back in the day, so there may be something not working, but at first look, it appears to be working fine). As for the old Crt.pas, Borland did the work of porting BC++'s conio.h to CBuilder, so why not apply that work to a compatibility unit for Delphi console apps? It's always boggled my mind that Borland left people{*word*154} that used those libraries from the BP7/TPW/D1 days. Will -- Want a 64-bit Delphi compiler for AMD64 / IA-32e? Vote here-- qc.borland.com/wc/wc.exe/details |
Nick Hodges (TeamB)
![]() Delphi Developer |
2004-04-19 05:23:50 AM
Re:looking for wincrt.pas
Will DeWitt Jr. writes:
QuoteMaybe you've never used WinCrt, so here's the functions it provides-- Nick Hodges -- TeamB Lemanix Corporation -- www.lemanix.com Read my Blog -- www.lemanix.com/nick |
Rudy Velthuis (TeamB)
![]() Delphi Developer |
2004-04-20 07:10:58 PM
Re:looking for wincrt.pas
At 23:11:48, 18.04.2004, Will DeWitt Jr. writes:
QuoteNick Hodges (TeamB) writes: addition. -- Rudy Velthuis (TeamB) "He would make a lovely corpse." -- Charles{*word*106}ens (1812-1870) |