Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-06

old msdos code

5 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joao Serrachinha

Hy all,

I just found Lazarus and fpc last weekend. I'm quit happy because i'm trying to put to work my code from Trubo Pascal and some projects from Delphi. The problem is that i have some code (at that time) created only to work on msdos. Help is needed please.

Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080610/9b7b6a7a/attachment.html -------------- next part --------------
A non-text attachment was scrubbed...
Name: video.pas
Type: text/x-pascal
Size: 9050 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080610/9b7b6a7a/attachment.bin -------------- next part --------------
A non-text attachment was scrubbed...
Name: util.pas
Type: text/x-pascal
Size: 5235 bytes
Desc: not available
Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080610/9b7b6a7a/attachment-0001.bin

Reply by email

Kostas Michalopoulos
to Joao Serrachinha
From a quick look at the code, i think you can replace these functions with

the Graph unit (or some other graphics/gui unit) and the SysUtils unit (and other <blah>Utils units).

Earlier message 20 lines
----- Original Message ----- From: Joao Serrachinha To: Sent: Tuesday, June 10, 2008 5:32 PM Subject: [Lazarus] old msdos code Hy all, I just found Lazarus and fpc last weekend. I'm quit happy because i'm trying to put to work my code from Trubo Pascal and some projects from Delphi. The problem is that i have some code (at that time) created only to work on msdos. Help is needed please. Thanks in advance.

Reply by email

Vincent Snijders
to OsvaldoTCF
OsvaldoTCF wrote
make.exe[1]: *** [codepage] Error 9009 This ocour when i compile for install a component. What is this?

I don't know what it is, only that an error occurred when setting the current code page.

I will remove that code, because I think it is not needed anymore: the IDE now passes a short file name to the make files, which should not have non-ascii chars.

Vincent

Reply by email

Osvaldo Filho
to Vincent Snijders

Hi Vincent, sorry my question. It is on a test with linux and wine (lazarus for windows running on linux);
The problem is the compilation of lazarus.rc, startlazarus.rc and lazbuild.rc; i comment this and have success.

Thanks.

2008/6/11 Vincent Snijders :

Show quoted text 20 lines
OsvaldoTCF schreef: > make.exe[1]: *** [codepage] Error 9009 > > This ocour when i compile for install a component. > What is this? I don't know what it is, only that an error occurred when setting the current code page. I will remove that code, because I think it is not needed anymore: the IDE now passes a short file name to the make files, which should not have non-ascii chars. Vincent _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20080611/5b87c093/attachment.html

Reply by email