2008年2月20日星期三

使用jigloo開啟文件

eclipse好像不太知道哪些東西是用Jigloo所編輯的
所以這時候就要手動來了
先將那個程式關閉
檔案上面點「右鍵」->[Open with]->[Form Editor]
這樣她就會把你程式的GUI秀出來了

2008年2月18日星期一

Freebsd 用tab自動補齊

用chsh將shell改成csh

在.cshrc加入set autolist

2008年1月7日星期一

防止讓Excel一啟動就開啟PERSONALXLS 或PERSONAL.XLSB

會出現這個的原因是我在新增巨集的時候
不小心選到了個人活頁簿
所以之後每次啟動都會跳這個出來

只要在
C:\Documents and Settings\使用者帳號\Application Data\Microsoft\Excel\XLSTART
下面找到personal.xls或personal.xlsb,把他刪掉就好了

2008年1月3日星期四

bordbk61.dll

找不到這個檔案bordbkxx.dll

只要把你的bcb 或是delphi重新安裝debuger就好了
他應該要在borland shared\debugger底下

2007年11月8日星期四

Debug Assertion Failed!

---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Assertion Failed!

Program: ...
File: f:\rtm\vctools\vc7libs\ship\atlmfc\src\mfc\map_pp.cpp
Line: 179

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
---------------------------
中止(A) 重試(R) 略過(I)
---------------------------


















這有可能是使用mfc時,從VC6升級到2005的問題

我的解決辦法是把靜態的程式庫,改成共用的DLL
目前這樣子是沒有問題的

2007年11月1日星期四

error C2664: 'sndPlaySoundW' : 無法將參數 1 從 'LPCSTR' 轉換成 'LPCWSTR'

專案設定裡面

字元集改成「使用多位元組字元集」就可以搞定了

2007年10月11日星期四

WSAEADDRNOTAVAIL 10049

Cannot assign requested address.

The requested address is not valid in its context. This normally results from an attempt to bind to an address that is not valid for the local computer. This can also result from connect, sendto, WSAConnect, WSAJoinLeaf, or WSASendTo when the remote address or port is not valid for a remote computer (for example, address or port 0).

剛剛發現有可能是
sin6_flowinfo

sin6_scope_id
的關係
把他們都設成0試看看