0

hello guys...im getting this error. Looked for this but could not find some solution

error C3861: "xxxxx" identifier not found

How can I fix this error? thnx

2
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by jonsca
0

Can you post this portion of your code? You are probably trying to call a function that is not declared.

0

well this is MFC code. I have nothing to do with this code. Here is the starting code of the function. AfxEnableControlContainer(); is the problem

BOOL CMyApp::InitInstance()
{
	AfxEnableControlContainer(); // this is the function you are talking about
 
	// Standard initialization
	// If you are not using these features and wish to reduce the size
	//  of your final executable, you should remove from the following
	//  the specific initialization routines you do not need.

#ifdef _AFXDLL
	Enable3dControls();			// Call this when using MFC in a shared DLL
#else
	Enable3dControlsStatic();	// Call this when linking to MFC statically
#endif


......................................
......................................
......................................

Edited by muze: n/a

0

This may seem like a random question, but do you have the full version of Visual Studio? If you're trying to compile MFC code with the express edition you might run into this. If you're not, maybe one of your headers is missing or corrupted.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.