FF 3.51 With JR Latest INC files

Started by Andy Flowers, May 03, 2012, 01:19:49 PM

Previous topic - Next topic

Andy Flowers

I am using FF3.51 along with Jose Roca's latest include files.

My question is, do I still need to declare JR include file in my FF_AppStart even though it is set in the Environment Options - PowerBasic Windows 10?

When I do not put it in my FF_AppStart section I get an error pointing to one of my GDI functions.

Andy Flowers

Andy Flowers

#1
Here is what my FF_AppStart looks like:

#COMPILE Exe "//PROJECT_NAME//.exe"

' #BLOAT <num_expr>
' #COMPILER PBWIN
' #DEBUG ERROR ON|OFF
' #DIM ALL|NONE
' #OPTION {VERSION3 | VERSION4 | VERSION5}
' #REGISTER {ALL | DEFAULT | NONE}
' #TOOLS [ON|+ | OFF|-]
' #STACK <num_expr>

' FireFly will automatically replace the JOSEINCLUDES token based on the controls that are present
' in the project. If Jose Roca's includes are not specified in 'Environment Options' for the compiler
' then FireFly will simply use the default PowerBASIC Win32 API Include files that ship with the compiler.
//JOSEINCLUDES//
#If Not %DEF( %USE_JOSE_INCLUDES )
#INCLUDE "WIN32API.INC"
#INCLUDE "COMMCTRL.INC"  ' needed for WinXP Theme support
#INCLUDE "COMDLG32.INC"
#INCLUDE "RICHEDIT.INC"
#EndIf

' Place your user defined Declares, Constants, and #Include files below this line. FireFly will not
' parse any of your defined #Include files - it simply includes it in the final generated code.
' -------------------------------------------------------------------------------------------------
'#INCLUDE "C:\PBWin10\WinAPI_JRII2b\GdiPlus.inc"
'#INCLUDE "C:\PBWin10\WinAPI_JR_III\GdiPlus.inc"
#INCLUDE "C:\PBWin10\WinAPI_JRIIIV103\GdiPlus.inc"[/code

Paul Squires

Paul Squires
PlanetSquires Software