Re: [fpc-pascal] Hardware information: Linux and Windows

2010-01-21 Thread Mark Morgan Lloyd
Osvaldo Filho wrote: How do I get information about the hardware in Linux and Windows? - Identification of the processor: model, manufacturer, serial number That depends very much on the type of the processor, i.e. whether it's x86, ARM and so on. On x86 the info is available from processor

[fpc-pascal] ActiveFormHandle from TApplication

2010-01-21 Thread Justin Smyth
Any one know how to get the Active Handle from the current Form from TApplication ? Delphi has something for this but i cant see it. I'm in the progress of getting JVCL working under FPC / lazarus ( FPC 2.5.1 Lazarus Win64 V 0.9.29 ) I suspect i might need to make a property to read the

Re: [fpc-pascal] ActiveFormHandle from TApplication

2010-01-21 Thread Anthony Walter
On Thu, Jan 21, 2010 at 7:50 AM, Justin Smyth delph...@smythconsulting.netwrote: Any one know how to get the Active Handle from the current Form from TApplication ? Delphi has something for this but i cant see it. I'm in the progress of getting JVCL working under FPC / lazarus ( FPC 2.5.1

Re: [fpc-pascal] ActiveFormHandle from TApplication

2010-01-21 Thread Paul Ishenin
21.01.2010 19:50, Justin Smyth wrote: Any one know how to get the Active Handle from the current Form from TApplication ? Delphi has something for this but i cant see it. I'm in the progress of getting JVCL working under FPC / lazarus ( FPC 2.5.1 Lazarus Win64 V 0.9.29 ) I suspect i might need

[fpc-pascal] GetVersionEx - Issue with lpVersionInformation variable

2010-01-21 Thread Justin Smyth
Guys I've been looking at lpVersionInformation in GetVersionEx which is defined as TOSVersionInfo in redef.inc , and in delphi its defined as TOSVersionInfoEx in jclwin32.pas in jvcl ( function GetVersionEx(var lpVersionInformation: TOSVersionInfoEx): BOOL; stdcall; overload; is how its