在编译中产生
mysql_com.h(115) : error C2146: syntax error : missing ';' before identifier 'fd'
\include\mysql_com.h(115) : error C2501: 'SOCKET' : missing storage-class or type specifiers
\include\mysql_com.h(115) : error C2501: 'fd' : missing storage-class or type specifiers
Error executing cl.exe.在stdAFX.h中包含的头文件有:
#include "windows.h"
#include "stdlib.h"
#include "mysql.h"
#include "malloc.h"请各位帮忙。
mysql_com.h(115) : error C2146: syntax error : missing ';' before identifier 'fd'
\include\mysql_com.h(115) : error C2501: 'SOCKET' : missing storage-class or type specifiers
\include\mysql_com.h(115) : error C2501: 'fd' : missing storage-class or type specifiers
Error executing cl.exe.在stdAFX.h中包含的头文件有:
#include "windows.h"
#include "stdlib.h"
#include "mysql.h"
#include "malloc.h"请各位帮忙。
解决方案 »
- windbg不能进行本地内核调试
- 基本C++语法:为什么不加& 会错呢?
- listctrl的内存释放问题
- 程序占用虚拟内存太多,导致程序性能下降,如何解决??
- 知道了各个象素的RGBQUAD值(RGB分量),怎样根据这些信息生成一张位图
- 关于MSChart的问题,希望您给指点一下
- 我发现在CSDN上的同志们有很多在深圳工作,我想了解一下工资水平!
- 水晶报表4.5不只支持ACCESS2000吧!为什麽选择数据源时总是提示不知道数据类型?如何搞定
- 我的32位程序(用到了Hook技术)在64位OS下运行时遇到的问题!
- 两个BYTE型变量,比如:A=0x10;B=0x1f;要把这两个变量按位求与,是用什么符号?是不是&&
- isapi中,如何操作Cookies,Session呢?
- 请教关于拨号网络双信道的问题!
重载函数中完成:
BOOL CADOTest1App::InitInstance()
{
AfxOleInit();
......
}stdafx.h中加入如下语句:(stdafx.h这个文件哪里可以找到?你可以在FileView中的Header Files里找到)
#import "c:\program files\common files\system\ado\msado15.dll" no_namespace rename("EOF","adoEOF")