Presently they are not, but I've tried it both ways. It ultimately boils
down to a bug in VC++'s #import code generator. If generated via
'implementation_only', all methods are wrapped in the namespace, otherwise
it's not and interfaces are qualified with the namespace prefix but enums
and typedefs are not.
It seems like a simple oversight by the implementer and something quickly
patched which makes it even more annoying. I suppose having buggy tools just
bothers me a lot. I expect the compiler I use to be perfect and, were I to
have an option, I would've already replaced this one. But, alas, I am stuck
with it and must make do.
Ciao,
Dee
P.S. Just out of curiosity, does anyone know if the latest compilers are
still munged?
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Ehsan Akhgari
Sent: Thursday, October 23, 2003 6:54 AM
To: 'Windev'; 'MSVC List'
Subject: RE: [windev] Enum/typedef namespace bug with #import
Are the typedef's and enums defined inside the IDL's library section?
-------------
Ehsan Akhgari
List Owner: [EMAIL PROTECTED]
[ Email: [EMAIL PROTECTED] read.zl6]
[ WWW: http://www.beginthread.com/Ehsan ]
In the mountains the shortest way is from peak to peak, but for that
route you must have long legs. Aphorisms should be peaks, and those
spoken to should be tall and lofty. -Thus Spoke Zarathustra, F. W.
Nietzsche
--
Windev mailing list at [EMAIL PROTECTED]
Lost your password? Need to unsubscribe or change your delivery options?
Go to http://www.lesher.ws/mailman/listinfo/windev
--
Search the Windev Archives - www.windev.org
