[fpc-devel]Missing References for supplied units?!

Lee, John John.Lee at logicacmg.com
Wed Feb 12 19:29:05 CET 2003

To find out which fns are supported you have to look at the source of the
windows unit, eg ...rtl\win32\windows.pp or something like that (eg in
fpc.zip or fpc10.zip from ftp.freepascal.fpc\source but most of them are
supported by win32.

sleep certainly ok, I use it all the time...
d10.pp - sleeps for 10 secs file is:
uses windows;

just tried it on v10...on my PC, running win95...
 win32/v10n(s) c:\v10nw\bin\ppc386 (size=268800) 1.0.7 [2003/02/07]
--installed:07/02/03 18:49:02 v10 from:d:\fpk\basew32_v10.zip 07/02/03 02:48

750-c:\pas>pas d10
win32/v10n(s) c:\v10nw\bin\ppc386 (size=268800) 1.0.7 [2003/02/07]--Free
Compiler version 1.0.7 [2003/02/07] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling d10.pp
Linking d10.exe
3 Lines compiled, 5.6 sec
-- d10.exe made ok

sleeps for 10 secs...

-----Original Message-----
From: Chris [mailto:C.Keck at gmx.net]
Sent: Wednesday, February 12, 2003 18:21
To: Lee, John
Subject: Re[2]: [fpc-devel]Missing References for supplied units?!

LJ> There is no description of all of the stuff in the windoze unit.

LJ> It just calls the windows functions - there are 100s and 100s of them.
LJ> windows functions are/were documented in a large (8M) zip (win32.zip?)
LJ> containing win32.hlp which used to be available as a free download from
LJ> borland's site - not sure how up to date it is. If it's not there email
LJ> privately & I'll send you a copy.  

LJ> Regards John

Thanks for the answer.
I already found the Win32.hlp on my Delphi CD.
So all functions are supported by the windows unit?
I'm asking, because I need the Sleep()-funtion of the "Process and
Thread Functions" group for my program.
I do not want to use Delay(), because I would have to include the crt
or wincrt unit then and the output is no longer made to stdout then...
However, Sleep() does not work here for me. Also SleepEx() seems to be
unsupported... Any ideas?


LJ> -----Original Message-----
LJ> From: Chris [mailto:C.Keck at gmx.net]
LJ> Sent: Wednesday, February 12, 2003 16:17
LJ> To: fpc-devel at deadlock.et.tudelft.nl
LJ> Subject: [fpc-devel]Missing References for supplied units?!

LJ> Hi,

LJ> I'm just wondering if there are any extra docs for the standard units
LJ> that are acutally not described in the manual, e.g. the windows-unit.
LJ> Are there any and if so, where can I find them. Or is there at least a
LJ> command-listing for these units?

LJ> Christian Keck

fpc-devel maillist  -  fpc-devel at lists.freepascal.org

This e-mail and any attachment is for authorised use by the intended recipient(s) only.  It may contain proprietary material, confidential information and/or be subject to legal privilege.  It should not be copied, disclosed to, retained or used by, any other party.  If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.  Thank you.

More information about the fpc-devel mailing list