CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    COM component (beginner)

    hi !
    simple & beginner question....
    I would like to make a COM component in wich i call a simple function with one parameter (a string) and retrieve the answer (an integer)....
    can someone help me step by step .?
    thanx !


  2. #2
    Join Date
    Nov 1999
    Location
    Germany
    Posts
    42

    Re: COM component (beginner)

    Use the ATL COM Wizard to crate a project.

    Insert a simple Interface, Insert->New ATL Object->Simple Class

    Then you see in the class view your new interface. Right click on the interface you can add an method.

    Thats all, search for some other article from me how you can make Com Calls.

    M.Gritsch


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