[fpc-pascal] Program without window but messages

J├╝rgen Hestermann juergen.hestermann at gmx.de
Wed Apr 25 17:43:02 CEST 2012


Sven Barth schrieb:
 >> When I create a new project and select to create an "Application",
 >> copy the above into the main program (ignoring Unit1.pas) and run
 >> the program I get an exception "Fensterklasse nicht gefunden" (in
 >> german, although I setup Lazarus in english!)
 >
 > This specific exception could be the result of a 
SysErrorMessage(GetLastOSError)
 > which on Windows uses the routines of Windows to translate the error 
and thus
 > will be in the language your OS is setup for. (Note: this is a guess, 
but maybe a very valid one ;) )

Yes, meanwhile this came to my mind too. It makes sense because my 
Windows is in german. ;-)



 > As you are using LCL functions it would be better if you ask such 
things on the Lazarus list.

You are right. I will do so. Thanks for the hint.



More information about the fpc-pascal mailing list