用vc编写连接mysql数据库需要哪些头文件,我遍了一个访问的程序
老是提示:
rror C2065: 'String' : undeclared identifier
可是我只要是与字符串有关的头文件都包含进去了,
还是报同样的错,这怎么解决,我
创建的是一个win32空项目
老是提示:
rror C2065: 'String' : undeclared identifier
可是我只要是与字符串有关的头文件都包含进去了,
还是报同样的错,这怎么解决,我
创建的是一个win32空项目
解决方案 »
- 关于多层窗口自绘
- 请教高手一道题,本人才疏学浅,实在想不出来
- socket同时向两个不同服务器发送http请求的问题?
- 在vs里面如何设置才能让dll与lib放到不同的目录里面?
- Software\\Microsoft\\Windows\\CurrentVersion\\Run下的 什么时候自启动,
- 请问try ... catch 的用法,可以是这样吗?
- StretchDIBits的问题!~100分
- 图形重绘的问题
- 关于菜单的两个送分问题
- 大虾快来拿分,VC++中DAO的问题!
- 极弱问题:如何在一个ActiveX控件中新增一个普通的COM接口(非自动化接口),接口参数为一个结构。在线等待,立马给分,急。。
- 请问develper studio object 中的几个 对象中 有关于 编译出错信息的 属性或者 方法吗
The String structure depicts the organization of data in a file-version resource. It contains a string that describes a specific aspect of a file, for example, a file's version, its copyright notices, or its trades. This structure is not a true C-language structure because it contains variable-length members. This structure was created solely to depict the organization of data in a version resource and does not appear in any of the header files shipped with the Microsoft® Platform Software Development Kit (SDK). 你最好不要用String改用其他的名字!
MySqlCGI.obj : error LNK2001: unresolved external symbol _mysql_fetch_row@4
MySqlCGI.obj : error LNK2001: unresolved external symbol _mysql_num_rows@4
MySqlCGI.obj : error LNK2001: unresolved external symbol _mysql_store_result@4
MySqlCGI.obj : error LNK2001: unresolved external symbol _mysql_query@8
MySqlCGI.obj : error LNK2001: unresolved external symbol _mysql_real_connect@32
MySqlCGI.obj : error LNK2001: unresolved external symbol _mysql_init@4
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/MySqlCGI.exe : fatal error LNK1120: 8 unresolved externals
LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/MySqlCGI.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
谢谢楼上的两位朋友热心肠