Hiding COM functions

  • Thread starter Thread starter glenn
  • Start date Start date
G

glenn

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
 
glenn said:
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

Search for ComVisibleAttribute in MSDN.

Willy.
 
Back
Top