Installation & Usage

www.progui.co.uk  Top  Previous  Next

Installation & Usage

Installation for PureBasic V5.20 LTS

 

In order to use ProGUI with your program you can use either the DLL version or the User Library version.

 

DLL Usage

 

Simply copy the ProGUI.dll (or ProGUI64.dll if your PureBasic installation is 64 bit) and ProGUI_PB.pb include file from the archive into your working directory. Alternatively you can copy the ProGUI.dll/ProGUI64.dll to your "Windows\System32" directory and then it will be available to all applications and programs you write.

 

At the top of your code listing you should enter:

 

IncludeFile "ProGUI_PB.pb"

 

Note The ProGUI.dll/ProGUI64.dll must be distributed with your compiled application in order for your program to access ProGUI functions.

 

User Library Installation

 

Simply copy the ProGUI (or ProGUI64 if your PureBasic installation is 64 bit) library file from the "UserLibrary\" directory of the archive to your "PureBasic\PureLibraries\UserLibraries" folder.  Copy the ProGUI.res file from the "UserLibrary\" directory of the archive to your "PureBasic\Residents" folder. ProGUI will now be installed and ready for use next time you start PureBasic.

 

The UserLibrary is a multi-library and includes Thread safe, Unicode and Unicode Thread Safe versions. Resident source code is also supplied if in the unlikely event you encounter that some API constants have already been defined.

 

Help File Installation

 

Copy this help file (ProGUI.chm) to your "PureBasic\Help\" directory for context hot-key help in your IDE.

( Note if the Help directory in the PureBasic folder does not exist then simply create it. )

 

Before you can use any of the ProGUI commands (with the exception of ProGUIVersion) you must first initialize ProGUI with the StartProGUI command:

 

StartProGUI("", 0, 0, 0, 0, 0, 0, 0)

 

Now you are ready to begin!

 

 

Installation for BlitzMax V1.41

 

In order to use ProGUI with your program you must distribute the DLL version with your program.

 

DLL Usage

 

Simply copy the ProGUI.dll and ProGUI_BlitzMax.bmx include file from the archive into your working directory. Alternatively you can copy the ProGUI.dll to your "Windows\System32" directory and then it will be available to all applications and programs you write.

 

At the top of your code listing you should enter:

 

Include "ProGUI_BlitzMax.bmx"

 

Note The ProGUI.dll must be distributed with your compiled application in order for your program to access ProGUI functions.

 

Before you can use any of the ProGUI commands (with the exception of ProGUIVersion) you must first initialize ProGUI with the StartProGUI command:

 

StartProGUI("", 0, 0, 0, 0, 0, 0, 0)

 

Now you are ready to begin!