Hi,
I am trying to compile our applications targeting the 64 bit platform but am getting the following error.
c:\program files\microsoft sdks\windows\v6.0\include\certbcli.h(187) : error MIDL2025 : syntax error : expecting a type specification near "__in"
2>c:\program files\microsoft sdks\windows\v6.0\include\certbcli.h(188) : error MIDL2025 : syntax error : expecting a type specification near "__deref_out"
2>c:\program files\microsoft sdks\windows\v6.0\include\certbcli.h(188) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation
2>LINK : fatal error LNK1240: failed to compile IDL content
the offending line in certbcli.h is
HRESULT
CERTBCLI_API
CertSrvBackupGetDynamicFileListW(
__in IN HCSBC hbc,
__deref_out PWSTR *ppwszzFileList,
__out OUT DWORD *pcbSize);
if I remove __in and __deref_out then everything compiles correctly
My OS is Windows XP 64 bit, with service pack 2 and VS 2005 SP1 installed.