How to prevent MFC classes' metadata to be exported by MC++ assembly ?

  • Thread starter Alexander Arlievsky
  • Start date
A

Alexander Arlievsky

Hi,
I have MC++ mixed mode assembly, which also uses MFC. Everything works fine,
but C# code, which uses this MC++ assembly sees all MFC symbols as members
of the global namespace. When I open MC++ assembly I actually see all
metadata of those classes. Obviously, in most cases classes have no members,
but I see class names like CArchive etc.
I didn't get this behaviour on VS.NET 2002.
I tried to play with compiling MFC as unmanaged, or in the namespace MFC,
but I get many compilation errors in those cases - and based on error
messages I can conclude it isn't bright idea.
Any help ?

--
==============================
Alexander Arlievsky
(e-mail address removed)
"The best tools for debugging are brains"
==============================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top