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
Can you post this portion of your code? You are probably trying to call a function that is not declared.
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
......................................
......................................
......................................
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.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.