|
本帖最后由 liangxm 于 2012-7-18 10:49 编辑
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.2.8.1 (beta)
Author: Prog@ndy
Script Function:
MySQL-Plugin Demo Script
#ce ----------------------------------------------------------------------------
#include <array.au3>
#include "D:\Program Files\autoit3\UserInclude\mysql.au3"
#include "D:\xm\testt\autoit\MySQL\MySQL.au3"
__MySQL_ExtractEmbeddedDLL()
_MySQL_InitLibrary()
If @error Then Exit MsgBox(0, '', ""); 假使读取不到 DLL 就退出
MsgBox(0, "DLL Version:",_MySQL_Get_Client_Version()&@CRLF& _MySQL_Get_Client_Info()); 宣告 MYSQL 版本讯息
$MysqlConn = _MySQL_Init();定义连接 没有这行 程式会看不懂连接语法
MsgBox(0,"错误讯息 范例","错误讯息 范例")
.....
.....
结果报错
错误: __MySQL_ExtractEmbeddedDLL(): 未定义的函数.
不知道我是没有include啥?会报这个错误。QQQ |
|