visual studio 2010 - IDL file incompatibility with vS2010 -


i've migrated com projects vs2013 vc2010 encountered 1 issue. in vc10 few method's signature changed header file generated compatible vc10 not vs13.

hresult ( stdmethodcalltype *queryinterface )(

        ifilestr * this,          /* [in] */ refiid riid,          /* [annotation][iid_is][out] */           __rpc__deref_out  void **ppvobject); 

in third parameter "__rpc__deref_out" getting added

and 1 generated using vs2013 like,

hresult ( stdmethodcalltype *queryinterface )(

        ifilestr * this,          /* [in] */ refiid riid,          /* [iid_is][out] */          __com_outptr  void **ppvobject); 

can 1 suggest?


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

php - Find a regex to take part of Email -

javascript - Function overwritting -