Sign in Join

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

Mailing lists / fpc-pascal / 2009-04

oCRT and ncurses in openSuSE 11.0 (32-Bit)

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Rainer Hantsch

Hello,

I wanted to port an old program from fpc 1.0.4 (SuSE 7.0) -> fpc 2.0.4 (openSuSE 11.0, 32-bit). My program uses ken wright's oCRT, and I have a version which was extended by ken wright personally with some additional functions.

It was very surprising that I could compile the main part of my program after some minor changes without any error message, but when I start the program, it crashes immediately with an access violation error in the following line:

     nMakeWindow(StdScrHdr,1,1,nCols(StdScr),3,31,31,31,true,left,'');

Ken Wright told me that he has finally handed over the oCRT code to the maintainers of FreePascal and he pleased me to ask "them", so I ask here. He thinks that something in oCRT is not compatible with new kernels or the ncurses libs any more and that this causes the problems.

The oCRT units seem to be in that version I
finally got from Ken Wright, as the compiler does not rise errors during compilation. So the headers of all procedures seem to include the extensions which Ken made. (If the source includes remarks like "... some more sugar for rainer ..." it is the right one.)

If you could help, please?

mit freundlichen Grüßen

Ing. Rainer Hantsch

Rainer Hantsch

Hello,

I wanted to port an old program from fpc 1.0.4 (SuSE 7.0) -> fpc 2.0.4 (openSuSE 11.0, 32-bit). My program uses ken wright's oCRT, and I have a version which was extended by ken wright personally with some additional functions.

It was very surprising that I could compile the main part of my program after some minor changes without any error message, but when I start the program, it crashes immediately with an access violation error in the following line:

     nMakeWindow(StdScrHdr,1,1,nCols(StdScr),3,31,31,31,true,left,'');

Ken Wright told me that he has finally handed over the oCRT code to the maintainers of FreePascal and he pleased me to ask "them", so I ask here. He thinks that something in oCRT is not compatible with new kernels or the ncurses libs any more and that this causes the problems.

The oCRT units seem to be in that version I
finally got from Ken Wright, as the compiler does not rise errors during compilation. So the headers of all procedures seem to include the extensions which Ken made. (If the source includes remarks like "... some more sugar for rainer ..." it is the right one.)

If you could help, please?

Answers are welcome in German or English.

Ing. Rainer Hantsch

Michael Van Canneyt
to Jonas Maebe
Jonas Maebe wrote 8 lines
On 02 Apr 2009, at 20:06, Peter W A Wood wrote: >I have noticed a few minor editing errors in the docs. What is the process >for suggesting corrections and improvements? Either via direct mail to Michael (), or by filing a bug report at http://bugs.freepascal.org

I have received mails with corrections from Peter W A Wood, but didn't answer them yet. I have a deadline for 3 articles today, but tomorrow I'll apologies for not responding earlier.

Michael.

Peter W A Wood
to Michael Van Canneyt
Michael Van Canneyt wrote 6 lines
I have received mails with corrections from Peter W A Wood, but didn't answer them yet. I have a deadline for 3 articles today, but tomorrow I'll look at them. My apologies for not responding earlier.

No need to apologise. I should apologise for my impatience. I was worried that my message was trapped in a spam filter. Sorry.

Regards

Peter