G
Guest
I keep getting warning messages like these:
....\include\myfile.h(451) : warning C4251: 'MyClass::m_myvariable' : class
'CPtrArray' needs to have dll-interface to be used by
clients of class 'MyClass'
D:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\af
xcoll.h(367) : see declaration of 'CPtrArray'
How can I get rid of the warnings.
I put the following
#pragma warning(disable: 4251)
at the top of the cpp file I am compiling, as well as the top of stdafx.h,
but it does not work.
Thanks.
....\include\myfile.h(451) : warning C4251: 'MyClass::m_myvariable' : class
'CPtrArray' needs to have dll-interface to be used by
clients of class 'MyClass'
D:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\atlmfc\include\af
xcoll.h(367) : see declaration of 'CPtrArray'
How can I get rid of the warnings.
I put the following
#pragma warning(disable: 4251)
at the top of the cpp file I am compiling, as well as the top of stdafx.h,
but it does not work.
Thanks.