Driving in BE
Driving in BE is an interesting experience for me.
Driving in BE is an interesting experience for me.
Neuhaus was founded from 1857, and was an Accredited Supplier to the Belgian Crown from 2000. Very sweet and beautiful for the sweet chocolates, and dense flavors for the origines. Although Neuhaus is not as famous as Godiva in Taiwan, in my opinion, Neuhaus tastes better than Godiva. (Probabaly because their sweet series is really […]
程式執行後以最小化的方式執行,即不會出現在工作列上,而會出現在tray裡頭。而在 tray icon 上可以點滑鼠右鍵來彈出功能表單(menu),進行各功能選擇(如結束等)。
Yap, I am in Belgium right now, having breakfast and planning the route today.
I think I am not patient in the traffic jam. This afternoon, after finishing my proposal this morning, I have to go to Taipei for picking up some official document and attending some short meeting. This is also my 1st time to take 內湖 line MRT, I think it is not as good as the […]
有時候為了要偷偷做一些事情, 所以會想要讓程式以無視窗在背景執行, 而要做出這樣的程式其實方法很簡單 在建立專案的時候選擇「主控台應用程式」(console application) 設定專案屬性(properties), 將輸出類型改為「windows 應用程式」 這樣就可以了, 當發現到這樣做就搞定的時候還有點訝異怎麼這麼容易…
Just wake up from noon break, I think I have to write down some day-to-day things.
那個\0很重要。 using System.Runtime.InteropServices; public bool DoDBConnect(string strDSN,string strUID,string strPWD) { try { strConn = “DSN=” + strDSN + “;UID=” + strUID + “;PWD=” + strPWD + “;”; cn = new OdbcConnection(strConn); cmd = new OdbcCommand(); adp = new OdbcDataAdapter(); cmd.CommandType = CommandType.Text; cmd.Connection = cn; } catch { return false; } return true; } [ […]
原本以為在 C# 中使用 struct 又要匯出成 .dll 給 c++ 需要有什麼特殊處理,結果發現其實不用… namespace TESTCOMObject { //其他程式碼 //… public struct tag_Data { public string strName; public string strValue; } } 而在 C++ 裡頭要使用就只要 import 之後就可以放心用了 TESTCOMObject::tag_Data aa[50]; aa[7].strName = “xxabc”; aa[7].strValue = “oo”; aa[17].strName = “xxabcyy”; aa[17].strValue = “oo”; TESTCOMObject::tag_Data bb; bb.strName = “hahaha”; bb.strValue = “hehehe”;