|

Win32/ FPC - Chapter 1 - by Delax
Hello and welcome! This tutorial is for all Pascal programmers that have some experience with coding for DOS and want to start programming for Windows. Therefore I won't go into topics like "how does if/ then work?" or "what is an integer?" but focus on windows instead. If you run into trouble, please refer to any Pascal tutorial.
As english is not my native language I apologize in advance for any kind of mistakes. If you understand german, there is a german version of an older version of this Tutorial. It should be found at
www.friends-of-fpc.org as well. But this newer revision is more recommended.
For this tutorial you will need the FPC (Free Pascal Compiler). If you don't have it, get it here. You should also read some FPC Docs first and get comfortable with the compiler. If you have it already installed, make sure you have the Version 1.0 or above.
Also a good thing to have is the "Win32 SDK Reference Help" from Microsoft. It is a Windows Help file and contains almost every API call. All the important ones anyway. Plus you can implement the help file in your favorite Windows Editor/ FPC IDE so that you have a handy online help for coding Windows applications. A small drawback is the size of 20 MB (13 MB zip), but it's worth it. Get it here.
By writing Win32 I mean every kind of Windows 32 system: Windows 95, 98, ME as well as Windows NT4, 2000 and XP. As long as you stick close to the API you should have no problems to get your programs work with new Windows versions (Longhorn?). Sometimes there are some differences between the Win9x (95, 98, ME) and NT (NT4, 2000, XP) systems. If this is the case I will show both versions.
All sources of this tutorial are tested with Windows 98 SE, Windows NT4 SP6, Windows 2000 SP2 and Windows XP SP1. If you encounter problems with other versions of Windows, please drop me a mail with any error messages (if that).
Well, so much for now, let's get going!
Delax/ Sundancer Inc.
[delax@sundancerinc.de]
Back to previous page
|