LPDIRECTDRAW pddraw;
LPDIRECTDRAW7 pddraw7;
DirectDrawCreate(NULL, &pddraw, NULL);
pddraw->QueryInterface(IID_IDirectDraw7, (LPVOID *)&pddraw7); // 把这行注释掉没错//下面的链接错误
dxguid.lib(dxguid.obj) : fatal error LNK1103: debugging information corrupt; recompile module我已经安装了dx sdk,而且把dxguid.lib的include目录和它本身都引进来了,为什么还出错。
我编写的是win32程序
LPDIRECTDRAW7 pddraw7;
DirectDrawCreate(NULL, &pddraw, NULL);
pddraw->QueryInterface(IID_IDirectDraw7, (LPVOID *)&pddraw7); // 把这行注释掉没错//下面的链接错误
dxguid.lib(dxguid.obj) : fatal error LNK1103: debugging information corrupt; recompile module我已经安装了dx sdk,而且把dxguid.lib的include目录和它本身都引进来了,为什么还出错。
我编写的是win32程序
解决方案 »
- CDC使用下面三行可以省略掉????
- 为什么把字体用ctrl+c拷贝出来//字体名字都变了?
- 不是说DDE是已经过时的技术吗,为什么MFC里面的消息映射都是用DDE_xxxx这样的宏实现的?
- CObList清空的时候出错
- MFC ODBC 搜索不到记录
- 创建辅助堆栈的问题!大哥们进来看看!!
- 关于“自动编程软件”的一些问答
- 50分相赠~基础基础的基础问题,switch嵌套不明白~
- 我机子坏了敬请高手帮忙(开机是屏幕无任何信息)
- 如何使EditBox在调用SetWindowText后,不删除上次显示的内容而是接着上次的往下显示?
- 如何解决__try __except所在函数中不能有C++类对象的问题 ?
- 苹果公司的产品设计为什么总能让人瞠目结舌,乔布斯起着怎样的作用?
debugging information corrupt; recompile moduleProbably the compilation was terminated before a valid object file was created.Recompile the given object file. If recompiling does not correct the problem, note the circumstances of the error, try to isolate the problem and create a reproducible test case, then consult the technical-support help file or the technical-support section in one of your manuals.代码?
怎么会有dxguid.obj?编译dx源文件,重新生成lib库?
DDCAPS caps_driver; memset(&caps_driver, 0, sizeof(DDCAPS));
caps_driver.dwSize = sizeof(DDCAPS); HRESULT hr = DirectDrawCreateEx(NULL, (void **)&lp_dd, IID_IDirectDraw7, NULL);
if (FAILED(hr))
{
LOG_ERROR(("(%s) create ddraw error:%x", _parameter.GetParameterString(KEY_DEVICE_GUID, "NULL GUID"), hr));
return hr;
}