CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2001
    Posts
    703

    Is this declaration Possible in Struct?

    structure
    =======
    Code:
    typedef struct tagMytag
    {
             SAFEARRAY (int) FirstNumber;
             SAFEARRAY (int) SecondNumber;
    } Mytag;
    In IDL file
    ========

    Code:
    HRESULT MyFunction ( [out,retval] Mytag *pTag);
    If this is possible , Can anyone pls post me some sample code of filling this safearray. I would like to access this struct from Managed Side.
    "Dont Forget to rate if it helped"

  2. #2
    Join Date
    Sep 1999
    Posts
    137

    Re: Is this declaration Possible in Struct?

    Sorry I don't have an answer.

    Here is a book that I have found helpful for IDL.

    Essential IDL by Martn Gudgin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured