VC
yiran2014_
这个作者很懒,什么都没留下…
展开
-
VC应用程序没有找到 MSVCRTD.dll,应用程序未能启动。
一般在编程序时,都是生成了调试版的程序,就是在那个Debug目录下的可执行文件。运行这调试版的exe文件,都会动态连接MFC42D.DLL和MSVCRTD.DLL这两个文件,所以你如果将这个文件在其它机器上运行而这台机器没有这两个文件或者缺少一个,系统则会出现:“找不到所需.dll文件-某某.dll”这样的提示。而一般系统都不带有这两个文件,除非是装了vc等。解决方法: 1、选择菜单bu...原创 2014-05-16 15:08:18 · 892 阅读 · 0 评论 -
LINK : fatal error LNK1104: cannot open file ".lib"
原因:打不开库文件XXX.lib解决方案一在工程 设置 目录下 有个c++LINK,加上libcid.lib解决方案二解决方案一编译,还是LINK : fatal error LNK1104: cannot open file "libcid.lib"的话,说明你没有文件libcid.lib。 搜索一下你的磁盘有没有libcid.lib,没有的话下载一个或从别人那里拷贝一个,放...原创 2014-04-01 14:55:22 · 2347 阅读 · 1 评论 -
Command line error D2016: '/ZI' and '/O1' command-line options are incompatible
解决方案:project -> setting -> c/c++ -> general -> Optimizations->Default原创 2014-04-02 17:52:17 · 891 阅读 · 1 评论 -
fatal error C1083: Cannot open precompiled header file
Release版本下Rebuild All时出现以下错误:fatal error C1083: Cannot open precompiled header file: '.\Release/Browse.pch': No such file or directory。Browse是我的工程名。在Debug模式下连接没有错误。双击错误提示,都是在#include "stdafx....原创 2014-04-03 15:27:27 · 538 阅读 · 1 评论 -
VC++6.0注释快捷键设置
找到VC++6.0的安装路径下的 Microsoft Visual Studio 6.0\Common\MSDev98\Macros 路径在该目录新建一个文本文件,并重命名为:comment.dsm,并打开增加以下内容:Sub CustomCommentOut()'DESCRIPTION: 注释/取消注释宏,可处理VB和C++、Java注释Dim winset win = ...原创 2014-04-11 10:20:33 · 223 阅读 · 0 评论 -
error C2065: 'string' : undeclared identifier
#include <iostream.h>#include <string>改为#include <iostream>#include <string>using namespace std;原创 2014-04-15 10:42:46 · 1349 阅读 · 0 评论 -
Cannot open precompiled header file: 'Debug/****.pch': No such file or directory
解决方案选中工程或工程中的cpp文件,点击鼠标右键,选择Setting,在C/C++栏,在Category下拉框中选择Precompiled Headers项,然后设置第一选项,选择不使用预编译头,解决这个问题 ...原创 2014-04-16 16:13:11 · 114 阅读 · 0 评论 -
gsoap
环境变量path中添加 d:\gsoap\bin\win32cmd -> 选择保存文件目录wsdl2h -o servcie.h http://....webService?wsdlsoapcpp2 -i -d moduleName -pfolderServic -x -ID:/gsoap/import servcie.h...原创 2014-04-16 16:19:30 · 104 阅读 · 0 评论