Thread: com programming - interface cannot use my struct

  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    6

    com programming - interface cannot use my struct

    hi

    im trying to pass a struct for a com interface member function
    i have no success so far.. please help thanks. here is what i tried to do.

    Code:
         interface IMyInterface : IDispatch
         {
              include "MyStruct.h";
              [helpstring("my method")] HRESULT mymethod([in] MY_STRUCT data);
         }

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    6

    ATL and structs - searching the answer

    okay looks like google has helped me
    searched some useful ATL resources
    for passing user defined structs to the function
    will try and work on this

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 12-03-2008, 03:10 AM
  2. sequential file program
    By needhelpbad in forum C Programming
    Replies: 80
    Last Post: 06-08-2008, 01:04 PM
  3. Looking for constructive criticism
    By wd_kendrick in forum C Programming
    Replies: 16
    Last Post: 05-28-2008, 09:42 AM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. Help please im stuck
    By ItsMeHere in forum C Programming
    Replies: 7
    Last Post: 06-15-2006, 04:07 AM