Hiding COM functions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • glenn

    Hiding COM functions

    how do you only expose certain functions to COM? Currently I've been
    playing around with writing a COM server in C# and VS 2003, and have gotten
    through the first few tutorials, however, the entire program is being
    exported for use when what I really want is to only expose a few specific
    elements about the server.

    Can anyone tell me how to accomplish this?

    Thanks,

    glenn


  • Willy Denoyette [MVP]

    #2
    Re: Hiding COM functions


    "glenn" <ghancock@softe ksoftware.com> wrote in message
    news:OMEffD6PFH A.3628@TK2MSFTN GP12.phx.gbl...[color=blue]
    > how do you only expose certain functions to COM? Currently I've been
    > playing around with writing a COM server in C# and VS 2003, and have
    > gotten
    > through the first few tutorials, however, the entire program is being
    > exported for use when what I really want is to only expose a few specific
    > elements about the server.
    >
    > Can anyone tell me how to accomplish this?
    >
    > Thanks,
    >
    > glenn
    >
    >[/color]

    Search for ComVisibleAttri bute in MSDN.

    Willy.



    Comment

    Working...