jhattingh
asked on
COM Primer: Public/Private Functions
////////////////////////// ////////// ////////// ////////// ////////// ////////// ////////// ////////// ////////// ////////// ////
I have a ATL COM project which 'exposes' a function RemoveMsgService()
To start with, I would do a MAPI Logon, and would like to use a separate function to do this, but I don't want the Logon() to be seen by the VB programmers.How do I implement this?
Also, is it ok for me to require an LPTSTR if the function takes astring as an argument, or should I be using VARIANTS?
Thank you
I have a ATL COM project which 'exposes' a function RemoveMsgService()
To start with, I would do a MAPI Logon, and would like to use a separate function to do this, but I don't want the Logon() to be seen by the VB programmers.How do I implement this?
Also, is it ok for me to require an LPTSTR if the function takes astring as an argument, or should I be using VARIANTS?
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.