随笔分类 -  Win32

摘要:注册、卸载DLL,一般命令写在bat文件中,下面以注册、卸载SWFToImage.DLL为例。 1、注册文件(Install.bat)内容: REM copying files to the system folder COPY SWFToImage.dll %windir%\system32 RE 阅读全文
posted @ 2016-06-28 10:00 慧由心生 阅读(2952) 评论(0) 推荐(0) 编辑
摘要:#define __FLAG__#ifndef __FLAG__#define DEST str1#else#define DEST str2#endifconst_char_p str1[3]={_T("1"),_T("2"),_T("3")};const_char_p str2[3]={_T("4"),_T("5"),_T("6")};const_char_p * str = DEST;const_char_p s = str[0];const_char_p s1 = s 阅读全文
posted @ 2013-06-07 11:43 慧由心生 阅读(228) 评论(0) 推荐(0) 编辑
摘要:// crt_sprintf.c// compile with: /W3// This program uses sprintf to format various// data and place them in the string named buffer.#include int main( void ){ char buffer[200], s[] = "computer", c = 'l'; int i = 35, j; float fp = 1.7320534f; // Format and print various data: j = sp 阅读全文
posted @ 2013-06-05 20:02 慧由心生 阅读(2037) 评论(0) 推荐(0) 编辑
摘要:WNDPROC wpOrigEditProc; LRESULT APIENTRY EditBoxProc( HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) { HWND hwndEdit; switch(uMsg) { case WM_INITDIALOG: // Retrieve the handle to the edit control. hwndEdit = GetDlgItem(hwndDlg, ID_EDIT); // Subclass the edit control. wpOrigEditPro... 阅读全文
posted @ 2013-06-04 21:06 慧由心生 阅读(312) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示