CStringArray(如何包含.h) [英] CStringArray (how do I include the .h)
本文介绍了CStringArray(如何包含.h)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用CStringArray,但是当我尝试包含afxcol.h时,我的
编译器(VS.NET)抱怨...
WINDOWS.H已包含在内。 MFC应用程序不得#include< windows.h>
任何建议???
I would like to use CStringArray, but when I try to include afxcol.h my
compiler (VS.NET) complains that...
WINDOWS.H already included. MFC apps must not #include <windows.h>
Any suggestions???
推荐答案
试试
#include< afxwin.h>
而不是
#include< afxcoll.h>
-
干杯
检查Abdoul [VC ++ MVP]
-------- ---------------------------
#include< afxwin.h> // MFC核心和标准组件
" Duncan Winn" < TE ** @ test1.co.uk>在留言中写道
新闻:Os ************** @ tk2msftngp13.phx.gbl ...
Try
#include <afxwin.h>
instead of
#include <afxcoll.h>
--
Cheers
Check Abdoul [ VC++ MVP ]
-----------------------------------
#include <afxwin.h> // MFC core and standard components
"Duncan Winn" <te**@test1.co.uk> wrote in message
news:Os**************@tk2msftngp13.phx.gbl...
我想用CStringArray,但当我尝试包含afxcol.h时,我的
编译器(VS.NET)抱怨说......
WINDOWS.H已经包含在内。 MFC应用程序不得#include< windows.h>
任何建议???
I would like to use CStringArray, but when I try to include afxcol.h my
compiler (VS.NET) complains that...
WINDOWS.H already included. MFC apps must not #include <windows.h>
Any suggestions???
谢谢,
但它仍然会出现同样的错误?
" CheckAbdoul" < 636865636B6162646F756C406E6F7370616D2E6D7670732E6 F7267>在消息新闻中写了
:uq ************** @ TK2MSFTNGP12.phx.gbl ...
Thanks,
but it still comes up with the same error??
"CheckAbdoul" <636865636B6162646F756C406E6F7370616D2E6D7670732E6 F7267> wrote
in message news:uq**************@TK2MSFTNGP12.phx.gbl...
试试
#include< afxwin.h>
代替
#include< afxcoll.h>
-
干杯
检查阿卜杜勒[VC ++ MVP]
-----------------------------------
#include< afxwin.h> // MFC核心和标准组件
Duncan Winn < TE ** @ test1.co.uk>在消息中写道
新闻:Os ************** @ tk2msftngp13.phx.gbl ...
Try
#include <afxwin.h>
instead of
#include <afxcoll.h>
--
Cheers
Check Abdoul [ VC++ MVP ]
-----------------------------------
#include <afxwin.h> // MFC core and standard components
"Duncan Winn" <te**@test1.co.uk> wrote in message
news:Os**************@tk2msftngp13.phx.gbl...
我想使用CStringArray,但是当我尝试包含afxcol.h我的
编译器(VS.NET)抱怨说......
WINDOWS.H已经包含在内。 MFC应用程序不得#include< windows.h>
任何建议???
I would like to use CStringArray, but when I try to include afxcol.h my
compiler (VS.NET) complains that...
WINDOWS.H already included. MFC apps must not #include <windows.h>
Any suggestions???
你有一个
#include< windows.h>
之前包括
#include < afxwin.h>
如果是这样,请将其删除。
-
干杯>
检查Abdoul [VC ++ MVP]
------------------------------- ----
" Duncan Winn" < TE ** @ test1.co.uk>在留言中写道
新闻:eU ************* @ TK2MSFTNGP11.phx.gbl ...
Do you have a
#include <windows.h>
before including
#include <afxwin.h>
If so, remove it.
--
Cheers
Check Abdoul [ VC++ MVP ]
-----------------------------------
"Duncan Winn" <te**@test1.co.uk> wrote in message
news:eU*************@TK2MSFTNGP11.phx.gbl...
谢谢,
但它仍然会出现同样的错误?
" CheckAbdoul" < 636865636B6162646F756C406E6F7370616D2E6D7670732E6 F7267>
在消息新闻中写道:uq ************** @ TK2MSFTNGP12.phx.gbl ...
Thanks,
but it still comes up with the same error??
"CheckAbdoul" <636865636B6162646F756C406E6F7370616D2E6D7670732E6 F7267> wrote in message news:uq**************@TK2MSFTNGP12.phx.gbl...
尝试
#include< afxwin.h>
而不是
#include< afxcoll.h>
-
干杯
检查Abdoul [VC ++ MVP ]
-----------------------------------
#include < afxwin.h> // MFC核心和标准组件
Duncan Winn < TE ** @ test1.co.uk>在消息中写道
新闻:Os ************** @ tk2msftngp13.phx.gbl ...
Try
#include <afxwin.h>
instead of
#include <afxcoll.h>
--
Cheers
Check Abdoul [ VC++ MVP ]
-----------------------------------
#include <afxwin.h> // MFC core and standard components
"Duncan Winn" <te**@test1.co.uk> wrote in message
news:Os**************@tk2msftngp13.phx.gbl...
我想使用CStringArray,但是当我尝试包含afxcol.h
我的编译器(VS.NET)抱怨...
WINDOWS.H已经包含在内。 MFC应用程序不得#include< windows.h>
任何建议???
I would like to use CStringArray, but when I try to include afxcol.h my compiler (VS.NET) complains that...
WINDOWS.H already included. MFC apps must not #include <windows.h>
Any suggestions???
这篇关于CStringArray(如何包含.h)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文