Click to See Complete Forum and Search --> : migrating from Visual Studio .NET 2003 to Visual Studio 2005


mayag
April 1st, 2008, 06:31 AM
Hello all,

I'd very grateful for your help with compilation error I get after migrating from Visual Studio .NET 2003 to Visual Studio 2005.

class A is a managed class which contains pointer pPtr to unmanaged class as public member
class B is a managed class, derived from A.
In constructor of B there is an initialization of pPtr

after migrating from Visual Studio .NET 2003 to Visual Studio 2005 I get a compilation error:
cannot access a private member of class A (pPtr)

Thanks in advance,
Maya

Krishnaa
April 2nd, 2008, 05:24 AM
Can you post the code for those two classes here ?