Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2003-01

Units for Windows

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Hans Mårtensson

According to the FreePascal Documentation the Windows unit includes the API calls for the Windows OS as doucumented in Borland's Win32 help file.

But not all of them.

I discovered another unit, named mmsystem, that took care of the functions to be used in connection with the sound card. With this unit I was able to make a sound recording program.

Now I would like to make a program to manipulate printers. For this purpose I need to call functions like OpenPrinter, EnumJobs and SetJob, specified in the Win32 help file. But they are not recognized by the Windows unit.

Does there exist a unit for this purpose?
Or another way to use these functions?

Hans Maartensson