[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Warning C4251

Asked by atomicgs12 in Windows Mobile (Pocket PC / Win CE) Operating Systems, Microsoft Visual C++.Net

I have a project that has several dlls in it that all talk to each other. I have some MFC code in the project, that I am eventually going to get rid of, but for now I want to just statically link the MFC dlls. The problem is that when I go to static linking of the mfc I get a bunch of C4251 warnings on some templates, like static:std::list<myStruct*>. But when I have 'Use MFC in a Shared DLL' selected in the Property Page of the project the warning goes away. My question is why does the C4251 warning only show up when using 'Use MFC in a Static Library' ?
Thanks
[+][-]11/03/09 10:45 PM, ID: 25736973Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625