QT 中使用BeaEngine 反汇编引擎

来源:互联网 发布:淘宝友情链接有什么用 编辑:程序博客网 时间:2024/05/20 07:18

1.工程中右键–添加库
添加BeaEngine.lib

2..pro 加上以下两句 已避免无法打开crt.lib的bug
QMAKE_LFLAGS_DEBUG = /DEBUG /NODEFAULTLIB:crt.lib
QMAKE_LFLAGS_RELEASE = /RELEASE /NODEFAULTLIB:crt.lib

3.包含头问题

//引用BeaEngine反汇编引擎头文件#ifdef __cplusplusextern "C" {#endif#define BEA_ENGINE_STATIC  /* specify the usage of a static version of BeaEngine */#define BEA_USE_STDCALL    /* specify the usage of a stdcall version of BeaEngine */#include "BeaEngine/BeaEngine.h"//#pragma comment(lib,"BeaEngine.lib")#ifdef __cplusplus}#endif
原创粉丝点击