|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Kevin Flanagan (kevin.flanagan
BOM.CO.UK)Date: Sun May 13 2001 - 18:45:17 CDT
I have a UDT defined like this:
[uuid(0be5c43b-8665-44ad-9b4f-e4c350bbb7f1)]
struct PARAM
{
SAFEARRAY(BYTE)* Value;
PARAMSTATUS ParamStatus;
};
If I try to create a SAFEARRAY of these, with the usual GetTypeInfoOfGuid
and GetRecordInfoFromTypeInfo, then the latter fails with
TYPE_E_UNSUPFORMAT. But if I remove Value from the UDT, I can create a
SAFEARRAY of PARAM. Is it just not possible to make a SAFEARRAY of a UDT
with a SAFEARRAY in it, or am I doing something wrong?
Thanks in advance for any leads.
===========================================
Kevin Flanagan kevin.flanagan
bom.co.uk
----------------------------------------------------------------
Users Guide http://msdn.microsoft.com/workshop/essentials/mail.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]