' ************************************************** ' * _karin.inc * ' * meta compiler file for GMT * ' ************************************************** ' Metaconstants used as compiler directives: ' The value we give to these constants is unimportant. ' The fact of being declared, steers the compiler. ' We set the values to 1 (not %True, since at this point in the code, ' this declaration fails), to be able to compare them with %True. #COMPILE EXE "nenuasop" #RESOURCE "resource\gmt_karin.pbr" %karin = 1 %students = 1 %gwr = 1 #INCLUDE "_NiDAQ.bi" '%NIDAQ = 1 '%g_h_inc = 1 ' The order in which the following includes appear is very important! #INCLUDE "..\winapi\g_win.inc" '#INCLUDE "..\winapi\win32api.inc" ' Win32API - version 31.03.2000 '#INCLUDE "..\winapi\commctrl.inc" '#INCLUDE "..\winapi\comdlg32.inc" '#INCLUDE "..\winapi\mdi32.inc" '#INCLUDE "..\winapi\richedit.inc" '#INCLUDE "..\winapi\wsock32.inc" ' required for internet apps ' Next we declare all our own constants, using an include file: #INCLUDE "g_kons.bi" ' only integer and string constants can be declared in PB #INCLUDE "g_type.bi" ' This declares all our own structures, user defined types #INCLUDE "gmt_glob.bi" ' This declares all variables shared across modules ' must appear after win32api: we use Win32 types as globals #INCLUDE "g_indep.bi" ' includes context independent functions and procedures. Source is in g_indep.bas #INCLUDE "g_file.bi" #INCLUDE "g_lib.bi" ' loads the library DLL, by including its declarations. ' g_lib.bas should be compiled with the PB-DLL compiler, ' as it contains all source code and resources. #INCLUDE "g_wave.bi" #INCLUDE "g_wmix.bi" #INCLUDE "g_mus.bi" ' music library #INCLUDE "g_har.bi" #INCLUDE "g_net.bi" ' networks #INCLUDE "gmt.bi" ' kernel procedure declaration file #INCLUDE "g_h.bi" $kompilfile = $kompil_nenuasop '"nenuasop" #INCLUDE "g_glib.bi" ' includes Godfrieds specific DLL ' following includes only for NiDAQ devices. However, even without having NiDAQ devices on your system it should be ' harmless to include these declarations. (if alone, to avoid double definitions...) [26.09.2000] #INCLUDE "..\winapi\Nidaqcns-pb.inc" #INCLUDE "..\winapi\Nidaqerr-pb.inc" '#INCLUDE "g_h.bi" #IF %DEF (%NiDAQ) #INCLUDE "..\winapi\Nidaq32-pb.inc" #ENDIF #INCLUDE "gmt_gwr.bi" ' contains further metacompilation instructions. #INCLUDE "gmt_gwr.inc" ' required for all compositions by Godfried-Willem Raes #INCLUDE "bom\gmt_bom.bi" ' declarations only ' #INCLUDE "gmt_ii.inc" #INCLUDE "bom\bom.inc" ' replaces tasks 16-... #INCLUDE "bom\songbook.inc" ' replaces tasks 48-63 #INCLUDE "bom\bomhol.inc" ' 27.11.2000 #INCLUDE "gmt_stud.inc" '#INCLUDE "karin\karin.inc" ' Include code for Luc Brewaeys, Due Cose '[EOF]