« | October 2025 | » | 日 | 一 | 二 | 三 | 四 | 五 | 六 | | | | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | | |
| 公告 |
暂无公告... |
Blog信息 |
blog名称: 日志总数:29 评论数量:48 留言数量:0 访问次数:189441 建立时间:2006年5月24日 |

| |
[Windows开发]WIN XP Home 安装 IIS 软件技术
wangchuanfa 发表于 2006/9/18 15:17:20 |
1 假定Windows安装于C:,将c:\Windows\inf\iis.inf改名为iis.inf.bak
2 将c:\Windows\system32\setup\iis.dll改名为iis.dll.bak
3 修改c:\Windows\inf\syssoc.inf中如下行:
iis=iis.dll,OcEntry,iis.inf,hide,7
为
iis=iis.dll,OcEntry,iis.inf,,7
即去除hide
4 在光驱中插入Windows2000 Pro光盘,假定盘符为F:
5 在Dos提示符下进入f:\i386,运行如下命令
expand iis.in_ c:\Windows\inf\iis.inf
expand iis.dl_ c:\Windows\system32\Setup\iis.dll
6 在“添加/删除程序”中点击“添加/删除Windows组件”选择Internet信 |
|
[Windows开发]程序启动时对话框的隐藏方法 随笔, 软件技术
wangchuanfa 发表于 2006/7/19 17:58:49 |
OnInitDialog中增加:
//不显示窗口 /* WINDOWPLACEMENT wp; wp.length=sizeof(WINDOWPLACEMENT); wp.flags=WPF_RESTORETOMAXIMIZED; wp.showCmd=SW_HIDE; SetWindowPlacement(&wp); //不显示在任务栏 ModifyStyleEx(WS_EX_APPWINDOW, WS_EX_TOOLWINDOW); */
|
|
[Windows开发]窗口淡入淡出 读书笔记, 软件技术
wangchuanfa 发表于 2006/7/15 15:16:22 |
OnInitDialog消息处理函数(或OnCreate)增加:
AnimateWindow(1000,AW_BLEND); //1 second
OnClose消息处理函数增加:
AnimateWindow(2000, AW_BLEND | AW_HIDE);
RECT rWa; SystemParametersInfo(SPI_GETWORKAREA ,0,&rWa,0);
RECT rWin; GetWindowRect(&rWin);
MoveWindow(rWa.right-rWin.right ,rWa.bottom-rWin.bottom,rWin.right ,rWin.bottom ,TRUE); AnimateWindow(2000,AW_BLEND);
Try it!
|
|
[Windows开发]CreateProcess调用失败,内存访问错误 心得体会, 软件技术
wangchuanfa 发表于 2006/7/3 17:48:14 |
编写一个Dll,其中用CreateProcess创建新进程,代码如下:
STARTUPINFO si; ZeroMemory( &si, sizeof(si) ); si.cb = sizeof(si); PROCESS_INFORMATION pi; ZeroMemory( &pi, sizeof(pi) ); if( !CreateProcess( NULL, // No module name (use command line). _T("c:\\windows\\Notepad.exe"), // Command line.   |
|
« 1 ›
|