   Problems including gameux.h for IGameExplorer
  When my game starts, I want to use IGameExplorer VerifyAccess to make sure the person is allowed to run the game.  When I include the header gameux.h, I get the following errors:c:\source\public\i386\dxsdk\inc\gameux.h(115) : error C2061: syntax error : identifier '__RPC__in'c:\source\public\i386\dxsdk\inc\gameux.h(127) : error C2061: syntax error : identifier '__RPC__in'I have so far been unsucessful in figuring out what this means.  I didn't find it mentioned in the docs or tutorials, and running internet searches hasn't come up with anything.
  I believe you also need to include rpcsal.h.   ;  That worked.  Now when I try to useIGameExplorer * pGE;CoCreateInstance(CLSID_GameExplorer,   0,   CLSCTX_INPROC_SERVER,   IID_IGameExplorer,   (void **)&pGE);it tells me that_CLSID_GameExplorer and _IID_IGameExplorer are unresolved external symbols.  Is there a dll I have to include for this?  Msdn was no help.  Thanks.   ;  Check out the GameusInstallHelper sample in the DXSDK. It looks like you need to do something like this:    hr = CoCreateInstance( __uuidof(GameExplorer), NULL, CLSCTX_INPROC_SERVER,   __uuidof(IGameExplorer), (void**) &pGE );There may be a library you can link with that contains the CLSID and IID but I don't know what it is.   ;  That worked.  Now when the program runs, the call to VerifyAccess fails.  This only occurs in the release build when I click on the app.  It succeeds when I debug the release build though.  I know I have to be signed for the VerifyAccess call to mean anything, but is the hresult value supposed to be a failure?  The doc doesn't specify the behavior in this case, and I was expecting the boolean to just always be true.   ;  I'm not sure. I would check the value of the hresult and see what it means.;  Issue Resolved:The problem was that I was passing in a WCHAR string instead of a BSTR.   