GLFW v2.5
for Delphi

  1. Introduction
  2. Using GLFW from Delphi
  3. The author
  4. Acknowledgements


1. Introduction

This folder contains Delphi bindings for the GLFW v2.5.x Windows DLL, and Delphi example programs. For further information on how to use GLFW you should read the GLFW documentation.


2. Using GLFW from Delphi

Since the general syntax of Pascal does not differ much from the C language syntax, using GLFW from Delphi is very similar to using GLFW from C/C++. This should make it easy to follow the GLFW documentation, which was primarily written for C/C++ users.

On the more practical side, you will need to copy the GLFW DLL file (support\win32dll\glfw.dll) to your Windows system folder (e.g. C:\Windows\system for Windows 9x/ME, or C:\WinNT\system32 for Windows NT), and/or to the same directory as you keep the executable for your GLFW based program.

You also have to copy the GLFW binding file for Delphi (support\delphi\lib\glfw.pas) to your Delphi\Lib directory.


3. The author

My name is Marcus Geelnard, marcus.geelnard@home.se. Please contact me if you have any problems with GLFW, or any questions at all concerning compiling or using GLFW.

The GLFW web site can be found here: http://glfw.sourceforge.net/. It contains the latest version of GLFW, news and other information that is useful for OpenGL development.


4. Acknowledgements

Many thanks to Jarrod Davis, who contributed the original Delphi binding file (glfw.pas) and the conversion of the Triangle example program!