- 博客(9)
- 资源 (14)
- 收藏
- 关注
原创 gethostname 等Windows 下编写QQ的bug 汇总
1.需要包括头文件:#include 或者WinSock 否则gethostname无法用2. gethostname 返回值是-1 ,这是因为没有调用WSAStartup同时也可以调用 AfxSocketInit 不过,该函数同样是调用WSAStartup
2009-04-29 17:52:00 1401
原创 error C2556: 'void __thiscall ::sendCommand1(unsigned int,const char *,int)' : overloaded function differs only by return type f
error C2556: void __thiscall ::sendCommand1(unsigned int,const char *,int) : overloaded function differs only by return type from int __thiscall error C2371: sendFtCommand1 : redefinition
2009-04-27 11:34:00 8356 1
原创 error LNK2001: unresolved external symbol "public: void __thiscall CDvrRecordOpt::Terminate(void)"
error LNK2001: unresolved external symbol "public: void __thiscall CDvrRecordOpt::Terminate(void)" 刚才在调试过程中发现这个问题i问题在于 CDvrRecordOpt 的类文件没有包含进工程中。切记
2009-04-24 09:33:00 5622 5
原创 动态链接库的工程无法进行调试
动态链接库的工程无法进行调试 设置:Setting-》Debug-》Executable for debug session 里面没有设置。
2009-04-24 08:35:00 999
原创 error LNK2001: unresolved external symbol "public: int __thiscall CFtProtocolThread::getFnIds(class _STL::vector > &)" (?getFnId
error LNK2001: unresolved external symbol "public: int __thiscall CFtProtocolThread::getFnIds(class _STL::vector > &)" (?getFnIds@CFtProtocolThread@@QAEHAAV?$vector@HV?$allocator@H@_STL@@@_STL@@@Z)
2009-04-23 09:22:00 1862
原创 error C2065: 'getCmdBuf1' : undeclared identifier
error C2065: getCmdBuf1 : undeclared identifier 明明定义guole,但是还是不行。最后查到原因如下: 原来定义的类A, 后来又把A的两个文件复制了一份,改成类B, 只改了类名之类的,但是头文件的#ifndef ***#define ***#endif 这个地方没有修改,因此最后只调
2009-04-21 14:37:00 1224
原创 link2001 错误,虚拟函数不加括号也会出现Link错误
virtual void SendPacketToCmdBuf(const char* buf,int len) { } 如果没有加上括号而 virtual void SendPacketToCmdBuf(const char* buf,int len); 则会出现错误。
2009-04-18 11:05:00 501
原创 error LNK2001: unresolved external symbol "public:
DVRManager.obj : error LNK2001: unresolved external symbol "public: int __thiscall FtComm::InitThread(void)" (?InitThread@FtComm@@QAEHXZ)DVRManager.obj : error LNK2001: unresolved external symbol "pub
2009-04-16 17:12:00 1515 2
转载 一些VC的快捷键以及调试方法技巧
http://www.cppblog.com/luliang/archive/2009/02/26/74952.aspx 一些VC的快捷键以及调试方法技巧 1.检测程序中的括号是否匹配 把光标移动到需要检测的括号(如大括号{}、方括号[]、圆括号()和尖括号)前面,键入快捷键"Ctrl+]"。如果括号匹配正确,光标就跳到匹配的括号处,否则光标不移动,并且机箱喇叭还会发出一声警告声
2009-04-16 09:24:00 772
live555(2015.11月的live555,比较新的) 可以在VS2010下直接编译的工程
2016-01-21
Enterprise+Solution+Patterns+using+microsoft+.net.pdf
2010-07-26
MSCHART控件注册
2010-05-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人