Jump to content

snaxau

Members
  • Posts

    3
  • Joined

  • Last visited

snaxau's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I installed MySql 5.5 x64, Autoit 3.3.8 x64 on my Win 7 64-bit PC and downloaded EzMySql_dll.au3, EzMySql.au3 and the example program. I edited the example with the appropriate MySql dir, _EzMySql_Startup("C:\Program Files\MySQL\MySQL Server 5.5\lib") When I ran it, it failed with: Error: 1 Error string: 0 But it worked with the following (and created libmySQL_x64.dll in the script dir): _EzMySql_Startup("") To make it work both ways, I modified EzMySql.au3 with: If @AutoItX64 = 0 Then $sDll_Filename = "libmysql.dll" Else ;$sDll_Filename = "libmySQL_x64.dll" ;this does not work so commented out $sDll_Filename = "libmysql.dll" ;workaround for 64-bit MySql EndIf Now the example program works perfectly. Perhaps the author could include this fix in the next release? For simple access to MySql, this UDF is great!
  2. The _ZipCreate function failed to create a valid zip file header under AutoIt V3.2.6.0. It turns out you must specify the binary option when you create the archive file. Func _ZipCreate($sZip, $iFlag = 0) ; Create empty zip file $hFile = FileOpen($sZip, 8 + 2 + 16); Mode = Create folder, Overwrite, binary <<==== add 16(binary) If $hFile <> - 1 Then
  3. Hmm, looks like the first download link still returns a corrupt zipfile. Winzip failed to unpack it with: Cannot open file: it does not appear to be a valid archive. The second (mytempdir) link downloaded a valid archive but failed to build the test script PluginZip.au3 with: C:\Au3Zip\bin\PluginZip.au3(98,46) : ERROR: _ZipList2Array(): undefined function. C:\Au3Zip\bin\PluginZip.au3(175,140) : ERROR: _ZipGetRatio(): undefined function. C:\Au3Zip\bin\PluginZip.au3(198,54) : ERROR: _ZipItemInfo2Array(): undefined function. Am I missing the appropriate download link somewhere? Thanks.
×
×
  • Create New...