A
Ahmad Jalil Qarshi
i want to store binary data into my property. i read earlier positing on
"microsoft.public.dotnet.languages.vc" group with subject as SAFEARRAY in
attributed ATL7 Project. i followed the same approach but unfortunately i
failed to do that.
i declared the property accessors as follow in my idl file.
[propget, id(2), helpstring("property Data")] HRESULT Data([out, retval,
satype(byte)] SAFEARRAY * *pVal);
[propput, id(2), helpstring("property Data")] HRESULT Data([in,
satype(byte)] SAFEARRAY * newVal);
when i compile code i get following error.
error MIDL2025 : syntax error : expecting ] or , near "satype".
any body there to help me.
Thanks in advance.
Ahmad Jalil Qarshi
"microsoft.public.dotnet.languages.vc" group with subject as SAFEARRAY in
attributed ATL7 Project. i followed the same approach but unfortunately i
failed to do that.
i declared the property accessors as follow in my idl file.
[propget, id(2), helpstring("property Data")] HRESULT Data([out, retval,
satype(byte)] SAFEARRAY * *pVal);
[propput, id(2), helpstring("property Data")] HRESULT Data([in,
satype(byte)] SAFEARRAY * newVal);
when i compile code i get following error.
error MIDL2025 : syntax error : expecting ] or , near "satype".
any body there to help me.
Thanks in advance.
Ahmad Jalil Qarshi