|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Robert Sedor (rsedor
HOME.COM)Date: Tue Jul 31 2001 - 19:28:32 CDT
When #importing, always use:
using namespace MYLIBRARYALib;
Then if a name conflicts, you have the option to do the following:
MYLIBRARYALib::MyObjA * pMyObjA = NULL;
or
MYLIBRARYBLib::MyObjA *pMyObjB = NULL;
When choosing the option, no_namespace, you just got rid of most of your
flexibility with naming.
i.e. ADODB::IField becomes just a IField interface. If you define IField
and don't use namespaces,
then the name becomes ambiguous when used in the same project as ADO.
----------------------------------------------------------------
Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
contains important info. Save time, search the archives at
http://discuss.microsoft.com/archives/index.html .
To unsubscribe, mailto:DCOM-signoff-request
DISCUSS.MICROSOFT.COM
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]