Using PbWin 10.03 / 10.04, I could not compile Patrice Terrier FFcapture PowerBASIC version 2.60 from http://www.objreader.com/index.php?topic=391.0
In ShObjIdl.inc, INTERFACE IShellItem2 $IID_IShellItem2, METHOD GetInt32
METHOD GetInt32 ( _ ' VTable offset = 64
BYREF key AS PROPERTYKEY _ ' __in REFPROPERTYKEY key
, BYREF pInteger AS LONG _ ' __out int *pi {Was BYREF pi AS LONG 2025-10-24}
) AS LONG ' HRESULT
I had a "Variable expected" error.
To resolve, I did change
BYREF pi AS LONG _
to
BYREF pInteger AS LONG _
Hi Pat, take care José
That is because Patrice is using MACRO Pi = 3.141592653589793##. The use of macros for these purposes is dangerous. It is the macro which should be changed or renamed, not the headers. Figure that tomorrow he defines MACRO key = something. Are you also going to change the name of the key parameter?
There seem to be a new version 3.00, at least for C/C++, but PB's is still the old one.