请教:
我新建了一个 win32 applicaton 工程(带hello world)的,
工程名为 Xiaogw , 工程建后是能编译的
然后我新建 CPP H 两个文件夹
把 xiaogw.cpp stdafx.cpp 放到 CPP
xiaogw.h stdafx.h resorce.h放 H 文件夹可是编译有错啊--------------------Configuration: XiaoGW - Win32 Debug--------------------
Compiling resources...
C:\小股王2\XiaoGW\XiaoGW.rc(4) : fatal error RC1015: cannot open include file '..\H\resource.h'.
Error executing rc.exe.
C:\小股王2\XiaoGW\XiaoGW.rc(4): Could not find the file ..\H\resource.h.XiaoGW.exe - 1 error(s), 0 warning(s)
//Microsoft Visual C++ generated resource script.
//#include "..\H\resource.h"#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
这是什么原因啊?
谢谢!
我新建了一个 win32 applicaton 工程(带hello world)的,
工程名为 Xiaogw , 工程建后是能编译的
然后我新建 CPP H 两个文件夹
把 xiaogw.cpp stdafx.cpp 放到 CPP
xiaogw.h stdafx.h resorce.h放 H 文件夹可是编译有错啊--------------------Configuration: XiaoGW - Win32 Debug--------------------
Compiling resources...
C:\小股王2\XiaoGW\XiaoGW.rc(4) : fatal error RC1015: cannot open include file '..\H\resource.h'.
Error executing rc.exe.
C:\小股王2\XiaoGW\XiaoGW.rc(4): Could not find the file ..\H\resource.h.XiaoGW.exe - 1 error(s), 0 warning(s)
//Microsoft Visual C++ generated resource script.
//#include "..\H\resource.h"#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
这是什么原因啊?
谢谢!
解决方案 »
- boot型驱动在系统启动过程中获取系统路径的问题
- 请教:想利用一个函数返回多个值,下面的形式可行不?
- 请教镜头阴影校正算法或实现思路
- 关于MFC ASSERT macro弹出错误提示对话
- 如何为嵌在CView里的属性页添加滚动条
- ——+——+——+—— 请教一个算法,大伙看过来 ——+——+——+——
- 界面上分割线类似于<hr>的线条是怎么农出来的
- 最近重新修改的我的《电子尺》1.07程序,大家下载看看,有建设性的意见或建议将高分奖励!!!
- 请问CDC::SetViewportExt(x,y)怎么用啊?它应该是将x,y映射成屏幕上的逻辑点吧,可是我画不出来呀 ???
- 怎样捕捉异常?
- 散分,离开公司了,开始新的学习生活
- 手工创建的CEdit,打算在他失去焦点时把里面输入的文本读出来
#include "..\H\resource.h"
H绝对路径在哪?
删除了的
在
C:\小股王2\XiaoGW\H
那么在 :C:\小股王2\XiaoGW\XiaoGW.rc
应该#include "H\resource.h"
Compiling resources...
Compiling...
StdAfx.cpp
c:\小股王2\xiaogw\cpp\stdafx.cpp(9) : fatal error C1010: unexpected end of file while looking for precompiled header directive
XiaoGW.cpp
c:\小股王2\xiaogw\cpp\xiaogw.cpp(192) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Generating Code...
Error executing cl.exe.XiaoGW.exe - 2 error(s), 0 warning(s)
修改后变为这样的了啊谢谢!