For Programmers: Free Programming Magazines  


Home > Archive > VC Language > January 2006 > build error C3767, cli+mfc









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author build error C3767, cli+mfc
furuya

2006-01-22, 7:24 pm

I report VC8 bug with simple source code.

I cannot build this source.

public ref class Class1
{
public :
void testOK1( int* ){};
void testOK2( int& ){};
void testOK3( int ){};
void testNG1( CRect* ){};
void testNG2( CRect& ){};
void testNG3( CRect ){};
};

bug20060122::Class1^ cl = gcnew bug20060122::Class1(); // in DLL

cl->testOK1( &a ); // no error
cl->testOK2( a ); // no error
cl->testOK3( a ); // no error

cl->testNG1( &rc ); //build error C3767
cl->testNG2( rc ); //build error C3767
cl->testNG3( rc ); //build error C3767


furuya

2006-01-27, 4:01 am

#pragma make_public(CRect)


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com