I am trying to build a class library which is to be used as a wrapper
for some c++ code I have. When I try to compile the following code:
#using <mscorlib.dll>
using namespace System;
#include "myClass.h"
public __gc class MCWrapper {
MCWrapper::MCWrapper()
{
}
};
I get the following error message:
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Include\ServProv.h(48): warning C4935: assembly
access specifier modified from 'public'
In myClass.h I make use of the public and private keywords. Based
on what I read in the docs if I use the /clr:noAssembly switch when I
compile it should solve this problem. Using this switch makes no
difference at all, I still get C4935. Is there something I am missing
here?
Thanks,
fe**********@yahoo.com