DIPS.obj : error LNK2001: unresolved external symbol "int __stdcall SetDIPSHook(unsigned long)" (?SetDIPSHook@@YGHK@Z)
..\x86\Debug/22 DIPS.exe : fatal error LNK1120: 1 unresolved externals请问这是怎么回师?哪错了?
..\x86\Debug/22 DIPS.exe : fatal error LNK1120: 1 unresolved externals请问这是怎么回师?哪错了?
解决方案 »
- 对话框类中的二维数组成员变量的赋值问题。
- 大家一起讨论下关于PC终端数据同步到服务器怎么实现?
- 怎么让.exe调用外部的.bmp文件作为界面内容???
- 求助:重装系统装不了是怎么回事?
- 在vs2008下面使用libssh2 进行ssh 连接服务器遇到的问题
- 100分!请问各位大虾QQ或者联众登陆时多个账户的记住密码功能是如何实现的?只要有提示就有分,不够再加!
- 我在对话框中花背景,画出来很正常,但快速拖动窗口几下就没有了,why?
- ReceiveFrom()接受时在出错,请高手进!!!
- 这段代码有什么错误?
- 我想学习Visual C++ 请问有无捷径??
- 求救:关于内存泄露
- 请求高手帮忙看一下我的代码,哪里出了问题,高分相送
可是在可执行模块编译时弹出 unresolved external symbol _go 。。
可执行模块定义如下://hello.h
extern "C" __declspec(dllexport) void go();
// TestHello.cpp : Defines the entry point for the application.
//#include "windows.h"
#include "Hello.h"int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
go();
return 0;
}
extern "C" __declspec(dllexport) void go();//hello.cpp
#include "Hello.h"
#include "windows.h"extern "C" __declspec(dllexport) void go(){
MessageBox(NULL,TEXT("JJ"),NULL,MB_OK);
}//hello.def
LIBRARY Hello
EXPORTS
go
TestHello.obj : error LNK2001: unresolved external symbol __imp__go//hello.h
extern "C" __declspec(dllimport) void go();
// TestHello.cpp : Defines the entry point for the application.
//#include "windows.h"
#include "Hello.h"int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
go();
return 0;
}