[fpc-devel] Dialog Unit in TP7.0

Aline Ribeiro aribeiro at sargas.com.br
Tue Nov 7 18:41:47 CET 2006

Thanks for your help, Daniel!

Aline Ribeiro

-----Original Message-----
From: fpc-devel-bounces at lists.freepascal.org
[mailto:fpc-devel-bounces at lists.freepascal.org] On Behalf Of Daniël Mantione
Sent: Tuesday, November 07, 2006 5:16 AM
To: FPC developers' list
Subject: Re: [fpc-devel] Dialog Unit in TP7.0

Op Mon, 6 Nov 2006, schreef Aline Ribeiro:

> Please help someone who knows almost nothing about programming.
> Because of a Heap Overflow Error, I'm trying to run an old TP program
> the Free Pascal compiler. But, although in TP 7.0 the program was running,
> in Free Pascal it doesn't even pass the Compilation phase. I get a error
> using the Dialog.TPU unit: "Error: Overridden methods must have the same
> return type: 'TinputLine.DataSize:Dword' is overriden by
> 'TinputLine.DataSize:Word' which has another input type."
> So far, I've tried everything that I know (=almost nothing) and simply
> know what to do!!! Can anyone give me a hint??!

Well, simply change the return type, i.e. change the word into a dword and 
things should work better.

Daniël Mantione

More information about the fpc-devel mailing list