www4.zzz.com.tw Forum Index www4.zzz.com.tw
程式設計/Fivewin/xHarbour/Clipper/visual dbase 2000/Force/db2k
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
BlogsBlogs   

xHarbour + mySQL 5.0.x & BCC 5.5x + Chinese Big5

 
Post new topic   Reply to topic    www4.zzz.com.tw Forum Index -> Harbour/xHarbour/GUI
View previous topic :: View next topic  
Author Message
ssbbs
站台管理者(Site Admin)


Joined: 18 Apr 2005
Posts: 60
Location: 台灣。台中市

PostPosted: 20051121, 2005 23:32    Post subject: xHarbour + mySQL 5.0.x & BCC 5.5x + Chinese Big5 Reply with quote

想要用 mySQL 5.0.x 強大功能嗎?(SP功能完成了!! Very Happy)
摸了一天,把 xHarbour 如何搭配 BCC 5.5.x 使用 mySQL 5 的心得 post 出來給大家分享


1. 從 %mysqldir%\bin 下複製 libMysql.dll 過來.
2. 執行 bcc55\bin\implib -c libMysql.lib libMysql.dll, 從 libMysql.dll 建立 libMysql.lib 給 BCC 5.5.x 使用.
3.修改 my.ini 檔案中的 sql-mode=".....", 將裡面的 'STRICT_TRANS_TABLES' 拿掉,否則,只有一行的 SQL 資料異動指令 [INSERT/UPDATE] 會出問題.
4.修改 my.ini 中,所有 big5 改為 utf8,這樣子就能輸入中文,查詢中文字了..(有點諷刺,竟然不能用 big5... Sad)
Back to top
View user's profile Send private message Send e-mail Blog Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    www4.zzz.com.tw Forum Index -> Harbour/xHarbour/GUI All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group