[fpc-pascal] Re: Error: Identifier not found "ChooseFont"

2009-09-14 Thread yu ping
WindowsXP,fpc224 2009/9/14 yu ping : > When I try to use ChooseFont function in my programm,I get following error: > test.pas(37,35) Error: Identifier not found "ChooseFont" > > Isn't the function in windows unit? > ___ fpc-pascal maillist - fpc-pasca

[fpc-pascal] GetLastOSError return values?

2009-09-14 Thread Graeme Geldenhuys
Hi, I'm using Linux. The online (html) help doesn't give any clue as to what the return values are for GetLastOSError(). Where can I find this information? Running out of options in the FPC code, I looked at MSEgui code. I found MSEgui uses the value 4 as an error and anything else as success. St

Re: [fpc-pascal] GetLastOSError return values?

2009-09-14 Thread Jonas Maebe
On 14 Sep 2009, at 17:06, Graeme Geldenhuys wrote: I'm using Linux. The online (html) help doesn't give any clue as to what the return values are for GetLastOSError(). Where can I find this information? By definition, that error number is completely OS-specific. Under Linux, the error num

[fpc-pascal] Error: Identifier not found "ChooseFont"

2009-09-14 Thread yu ping
When I try to use ChooseFont function in my programm,I get following error: test.pas(37,35) Error: Identifier not found "ChooseFont" Isn't the function in windows unit? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

[fpc-pascal] Bus error on ARM-WinCE crosscompiler FPC 2.3.1

2009-09-14 Thread Bogdan
Hi If I crosscompile the folowing program with Lazarus-0.9.29-21694-fpc-2.3.1-20090914-win32.exe and Lazarus-0.9.29-21694-fpc-2.3.1-20090914-cross-arm-wince-win32.exe: program test4; {$MODE Delphi} {$APPTYPE CONSOLE} uses {$IFDEF WINDOWS} Windows, {$ENDIF} SysUtils, Classes, DateUtils

Re: [fpc-pascal] Re: Error: Identifier not found "ChooseFont"

2009-09-14 Thread Marco van de Voort
In our previous episode, yu ping said: > 2009/9/14 yu ping : > > When I try to use ChooseFont function in my programm,I get following error: > > test.pas(37,35) Error: Identifier not found "ChooseFont" > > > > Isn't the function in windows unit? Those functions moved to the commdlg unit because of

Re: [fpc-pascal] Re: Error: Identifier not found "ChooseFont"

2009-09-14 Thread yu ping
thanks, another question,which unit is "PropertySheet" function in? 2009/9/15 Marco van de Voort : > In our previous episode, yu ping said: >> 2009/9/14 yu ping : >> > When I try to use ChooseFont function in my programm,I get following error: >> > test.pas(37,35) Error: Identifier not found "Choo