Welcome to the new Friends-of-FPC!

Here you can find all kinds of information about the FreePascal Compiler. We have many tutorials and howtos as well as a selection of tools to help you with your programming. We also have some example codes for you. And if you want to contribute some information/ sources/ tools yourself you can do so.
Also we have finally relaunched the FoFPC forum. It's your chance for some Q&A about everything FreePascal.

Friends-of-FPC

Tutorials: Learn how to code with FreePascal.

Source Codes: A collection of examples, miscellaneous source codes and open source stuff.

Tools and Help Files: Intro- duction of some tools that might help you with FPC.

Community

Forum: Ask or answer questions about the FreePascal Compiler, programming or just babble about coding.

Contribute! Contribute your own Tutorial, Source Codes or Tools and send them to us!

Website

About: Information about Friends-of-FPC.org.

Win32/ FPC - by Delax

This is an introduction to the Windows 32 API. You should know how to code in Pascal as I will not cover the basics like "what is a pointer" and stuff. But you don't need to know anything about the windows internals. Well - you should have seen windows once or twice ;)

We start off with looking at windows classes, event handling and so on. Then we will cover controls, output and stuff like that. Please send all questions and comments to delax@sundancerinc.de. Have fun.

NOTE: This is a complete rewrite from the last version of the Win32/ FPC tutorial. So if you know the old one you still might want to look at this as some major mistakes were fixed and the tutorial has now completely different topics. It is also a good idea to get the complete ZIP file as it contains all the sources, resource scripts and other things necessary to compile the examples. It's far more easy than download everything by hand from the different tutorials.

Chapter 01 - Introduction

Chapter 02 - The first Windows program

Chapter 03 - Windows classes I

Chapter 04 - Windows classes II

Chapter 05 - Event Handling

Chapter 06 - Simple Windows

Chapter 07 - Simple Text output

Chapter 08 - DrawText()

Chapter 09 - Resource Files

Chapter 10 - Icons

Chapter 11 - Menus

Download Tutorial as .ZIP file

Back to previous page

Useful Links









Link to us