To declare structs in IDL files, you typically do :
[
uuid(<your uuid>)
]
struct YOURSTRUCT
{
// place here oleautomation-compliant members
Quote:
};
[ oleautomation ] or [ dual ]
interface IYourInterface
{
[id(1)] HRESULT Test([in] struct YOURSTRUCT s);
Quote:
}
--
Frederic Claux
Quote:
> Hi,
> Why is that when i whant to move a struct member that i declare in the idl
> through a Dual interface
> i always get warrnings:
> "
D:\dev\Map\Acquisition\ConfigurationMgr\Sources\Code\ConfigurationMgr.idl(5
2
Quote:
> ) : warning MIDL2039 : interface does not conform to [oleautomation]
> attribute : [ Parameter 'pAcq' of Procedure 'GetAcqParam' ( Interface
> 'IAsiConfigurationMgr' ) ]
> "
> Thanks.