Hi,
I have just tested the Phoenix IDE and got a 'duplicate function declaration' error in Win32API.INC ... after OleWrap.inc. So I checked and this are the lines:
I think in PB Win 8.0 the first %OLEINC = 1 in the first include file would be defined for the hole EXE or not ? If so the second function would be never set.
As I testet here, the include files will not get and not set def% Values in/from the calling program.
Is this because of the new 'more than 1 file' compiling ?
I have just tested the Phoenix IDE and got a 'duplicate function declaration' error in Win32API.INC ... after OleWrap.inc. So I checked and this are the lines:
Code:
in Main: ... #include "Ole32Api.inc" #include "OleWrap.inc" #include "Win32Api.inc" ... in OleWrap.inc: #IF NOT %DEF(%OLEINC) [B] %OLEINC = 1[/B] #ENDIF ... FUNCTION SUCCEEDED _ ( _ BYVAL nStatus AS LONG _ ) AS LONG FUNCTION = -(nStatus >= 0) END FUNCTION ... in Win32API.INC ... #IF NOT %DEF([B]%OLEINC[/B]) %OLEINC = 1 #IF %DEF(%USEMACROS) MACRO SUCCEEDED (nStatus) = (-(BITS&(nStatus) >= 0)) #ELSE FUNCTION SUCCEEDED (BYVAL nStatus AS LONG) AS LONG FUNCTION = -(nStatus >= 0) END FUNCTION #ENDIF
As I testet here, the include files will not get and not set def% Values in/from the calling program.
Is this because of the new 'more than 1 file' compiling ?
Comment