顯示具有 SDK 標籤的文章。 顯示所有文章
顯示具有 SDK 標籤的文章。 顯示所有文章

2016年9月10日 星期六

build TTSAPP(MS Speech SDK 5.1) with Unicode

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 ++;
                }
            }

    

In Gvim ,How to setup default font and font-size In  .gvimrc  , You must add a ( \ ) back-slash  to tell gvim ,  16  is the  font-size  . Ot...