predefine symbol:
remove: _MBCS
add: _UNICODE,UNICODE
## must add both _UNICODE and UNICODE , just one don't work.
environment: VC6, SpeechSDK51.exe
PS: universal string process code snip
// #include <stdio.h>
// #include <TCHAR.H>
{
static int g_count = 0;
HWND htWnd = GetDlgItem(m_hWnd, IDC_STATIC_RATE);
if ( htWnd )
{
TCHAR buf[256];
_stprintf(buf,_T("Rate %d "),g_count);
SetWindowText(htWnd, buf );
g_count ++;
}
}
訂閱:
文章 (Atom)
常用 氧化活性 排行
氧化 化學反應 由高至低: 鉀鈉鋇鍶鈣鎂鋁碳鋅鉻鐵鈷鎳錫鉛氫銅汞銀鉑金
-
在 ~/.bash_rc 內加入以下 function 即可在新開的 terminal 中, 用 .. N 快速切換到祖先目錄. FYI: cd - 可以來回切換前後目錄. toN() # toN num default { test ${1} || retur...
-
### Installing Python 3.8 on Ubuntu 18.04 from Source ### $ sudo apt update $ sudo apt install build-essential zlib1g-dev libncurses5-dev li...
-
台灣 2025年 前3季行人 死亡數 比去年同期 增4% . 為宣傳政蹟, 搏版面, 過度強調 行人帝王條款 , 不知 很多人 都只聽 權利 , 而 忽略 馬路如虎口 , 身體是自己的 , 不要以身犯險 .