月份:一月 2008

don’t show icon as ALT+TAB and not appear in system tray

Posted on

SetWindowLong(GetSafeHwnd(), GWL_EXSTYLE,(GetWindowLong(GetSafeHwnd(), GWL_EXSTYLE) &~ WS_EX_APPWINDOW) | WS_EX_TOOLWINDOW);

WS_EX_TOOLWINDOW : not appear in ALT+TAB
~WS_EX_APPWINDOW : not appear in system tray

廣告

ZeroLink: unknown symbol ‘_stdscr’

Posted on

Symptom:
as build&go in Xcode, the message show on console:
ZeroLink: unknown symbol ‘_stdscr’

Solution:
drag the /usr/lib/libcurses.dylib file into your project

Reference:
http://lists.apple.com/archives/Xcode-users/2006/Jul/msg00119.html

error C2065: ‘_lpw’ : undeclared identifier

Posted on

sympton:

error C2065: ‘_lpw’ : undeclared identifier
error C2065: ‘_convert’ : undeclared identifier
error C2065: ‘_acp’ : undeclared identifier

solution:
insert USES_CONVERSION;
in the front of the function which use T2A or A2T or …