I have an enum and a baseclass in a namespace, and a derived class returning the enum 
in another namespace. THe problem is that when I generate the .tlb files for the COM 
wrapper code, the enum from the first namespace is not in the tlb for the derived 
class, so I get an error when using #import on that tlb from C++.  Is it possible to 
force an enum to be part of another namespace or tlb?  Is it possible to generate a 
single tlb file for both the baseclass with the enum and the derived class?

-- 
- Petter Nilsen, [EMAIL PROTECTED]
Technical Manager, Internet Development, Visma Software ASA

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to