
c++ dll 64
hlday6
这个作者很懒,什么都没留下…
展开
-
vs2013 将工程编译成64位dll, 其他64位程序调用出问题
当时报的错误信息忘记记录了,这里只有个解决方法之一,还有其他原因,需根据错误信息进行调试了需要将 dll工程,和调用的工程的下面项设置成一致的...原创 2018-09-13 11:00:42 · 1541 阅读 · 0 评论 -
从dll生成def文件 并生成lib文件
在开始菜单打开Visual Studio 2015\Visual Studio Tools\Windows Desktop Command Prompts\VS2015 x86 x64 Cross Tools Command Prompt切换到DLL所在目录在命令窗口输入 cd /d "你的DLL目录"回车切换到对应目录。生成DEF文件dumpbin /exports zmotion_x...转载 2018-11-10 10:31:36 · 2486 阅读 · 1 评论 -
VS2013让Release程序生成pdb文件 进行debug调试
转载:https://blog.youkuaiyun.com/u013600225/article/details/51427791用VS调试Release的程序,发现无法调试。其实,并不是Release的程序不能调试,而是没有让Release的程序生成pdb文件,VS无法加载pdb文件而无法调试程序。设置一下,让Release的程序也生成pdb文件,就好了,http://blog.csdn....转载 2018-11-30 10:22:26 · 2019 阅读 · 0 评论 -
windows程序崩溃时自动生成dump文件方法
/****************第一步添加createdump.h*********************************添加一个头文件:createdump.h#pragma once#include <windows.h>#include <imagehlp.h>#include <stdlib.h>#pragma com...原创 2018-11-30 11:46:26 · 3290 阅读 · 0 评论 -
C++中的仿函数,std::function和bind()的用法
1.仿函数:又叫std::function,是C++中的一个模板类2.C语言中的函数指针:int add(int a,int b){ return a+b;}typedef int (*func)(int,int);//给函数类型定义别名func func1;func1=add;//给函数指针初始化或者int (*func1)(int,int)=add;...转载 2018-11-30 14:20:16 · 464 阅读 · 0 评论 -
c++中标准异常与windows 异常
转自https://www.cnblogs.com/yangchaobj/archive/2013/02/23/2923479.html 标准异常都在头文件<exception>中。异常 描述std::exception 该异常是所有标准 C++ 异常的父类。std::bad_alloc 该异常可以通过 new 抛出。std::bad...转载 2019-01-19 16:42:21 · 1236 阅读 · 0 评论