Need help with __RPC__inout_xcount and __RPC__out_xcount_part
4 replies, posted
I am currently playing around with SourceEngine2007 leaked source
And i've been trying to compile at least one of the dlls but it keeps giving me these errors:
[CODE]Error C2061 syntax error: identifier '__RPC__out_xcount_part'[/CODE]
[CODE]Error (active) E0020 identifier "__RPC__inout_xcount" is undefined [/CODE]
on these files:
OAIdl.h
ObjIdl.h
oleidl.h
PropIdl.h
PropIdlBase.h
urlmon.h
Which are included with Windows SDK 10
I've googled the error and tried to include directories from DirectX SDK
I'm using Visual Studio 2017 Professional
I have had this problem in the past. If I remember right the DirectX version included in the newer Windows SDK conflicts with the older version of DirectX (or the old Windows SDK). You will need to downgrade to an older version of Visual Studio to use the older libraries (probably 2005).
[QUOTE=DarkCarnage;52656400]I have had this problem in the past. If I remember right the DirectX version included in the newer Windows SDK conflicts with the older version of DirectX (or the old Windows SDK). You will need to downgrade to an older version of Visual Studio to use the older libraries (probably 2005).[/QUOTE]
Thank you for your reply, I'll test it out to confirm it works
I find it really difficult to find visual c++ 2005 professional because it includes MFC which the projects needs :/
Also making the DirectX SDK top of the include order may help
That's it! i got it!
You need Visual Studio 2010 Professional. That's it, That's all what you need :D
The DirectX SDK is included with the leak, Inside src_main folder titled dx9sdk and dx10sdk
But i tested this in a fresh install of Windows XP 64bit Professional
Sorry, you need to Log In to post a reply to this thread.