上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 77 下一页
摘要: API之打印函数 AbortDoc 取消一份文档的打印 AbortPrinter 删除与一台打印机关联在一起的缓冲文件 AddForm 为打印机的表单列表添加一个新表单 AddJob 用于获取一个有效的路径名,以便用它为作业创建一个后台打印文件。它也会为作业分配一个作业编号 AddMonitor 为系统添加一个打印机监视器 AddPort 启动"添加端口"对话框,允许用户在系统可用端口... 阅读全文
posted @ 2007-09-13 11:44 ahuo 阅读(779) 评论(0) 推荐(0)
摘要: WaitForMultipleObjects、WaitForSingleObject、GetExitCodeThread // Thread.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include HANDLE hth[2]; DWORD WINAPI func1(L... 阅读全文
posted @ 2007-09-13 09:50 ahuo 阅读(1069) 评论(0) 推荐(0)
摘要: 下载 #include #include #define PORT 8888 int main() //server { WSADATA wsaData; int Ret = WSAStartup(MAKEWORD(2,2),&wsaData); printf("Server!\n"); if(Ret != 0) { printf("无... 阅读全文
posted @ 2007-09-12 15:45 ahuo 阅读(5557) 评论(1) 推荐(0)
摘要: 阅读全文
posted @ 2007-09-11 17:45 ahuo 阅读(445) 评论(0) 推荐(0)
摘要: patchadd -p 显示补丁列表 软件包管理 pkginfo [ -d [ device | pathname ] ] [ -l ] pkg_name 参数: -d 软件包所在的设备路径 -l 软件包的详细描述 阅读全文
posted @ 2007-09-11 15:44 ahuo 阅读(519) 评论(0) 推荐(0)
摘要: svcs –a |more # 可以列出当前所有的服务: STATE STIME FMRI legacy_run 1:58:26 lrc:/etc/rcS_d/S50sk98sol ... 阅读全文
posted @ 2007-09-11 15:17 ahuo 阅读(1360) 评论(0) 推荐(0)
摘要: /usr/X/bin/kdmconfig 按右 选择Xsun Server Change Video Device / Monitor 按提示修改 保存 阅读全文
posted @ 2007-09-11 14:57 ahuo 阅读(1511) 评论(0) 推荐(0)
摘要: 目前的状态是: # inetadm | grep telnet 启动服务: # svcs enable svc:/network/telnet:default solaris的telnet服务启动却登录失败 在/etc/default/login 把CONSOLE=/DEV/CONSOLE注释掉就可以了 阅读全文
posted @ 2007-09-10 17:50 ahuo 阅读(1227) 评论(0) 推荐(0)
摘要: DllTest.rar dll1.h #ifdef DLL1_API #else #define DLL1_API _declspec(dllimport) #endif DLL1_API int add(int a,int b); DLL1_API int sub (int a,int b); class DLL1_API PO //导出整个类 { public: int outpu... 阅读全文
posted @ 2007-09-09 17:51 ahuo 阅读(361) 评论(0) 推荐(0)
摘要: Font fn = new Font("", 12,FontStyle.Bold); textBox.Font = fn; 阅读全文
posted @ 2007-09-09 12:50 ahuo 阅读(5947) 评论(1) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Text; namespace CEncrypt { public class Encrypt { public Encrypt() { } /**//// /// 加密 ///... 阅读全文
posted @ 2007-09-07 12:06 ahuo 阅读(400) 评论(0) 推荐(0)
摘要: Process p = new Process(); p.StartInfo.FileName = "cmd.exe"; //設定程序名 p.StartInfo.Arguments = "/c " command; //設定程式執行參數 p.StartInfo.UseShellExecute = false; //關閉Shell的使用 p.StartInfo.RedirectStandardIn... 阅读全文
posted @ 2007-09-06 16:02 ahuo 阅读(1235) 评论(0) 推荐(0)
摘要: BOOL WriteConsole( HANDLE hConsoleOutput, const VOID* lpBuffer, DWORD nNumberOfCharsToWrite, LPDWORD lpNumberOfCharsWritten, LPVOID lpReserved ); Parameters hConsoleOutput [in] Handle to th... 阅读全文
posted @ 2007-09-06 10:40 ahuo 阅读(2899) 评论(0) 推荐(0)
摘要: 注册表的操作,API为我们提供了大约25个函数。 他提供了对注册表的读取,写入,删除,以及打开注册表及键值时所有函数, 并且可以达到对注册表的备份,连接和对远端注册表进行查看等等。 注册表对整个系统十分重要,你在进行操作时,一定要先考虑清楚。 这些函数有: RegCloseKey RegConnectRegistry RegCreateKey RegCreateKeyEx RegDelet... 阅读全文
posted @ 2007-09-05 17:06 ahuo 阅读(2995) 评论(1) 推荐(0)
摘要: 补丁更新选项的禁用与恢复 有时会看到更新选项不能更改 只要删除HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\windows\WindowsUpdate\AU 下的AUOptions就可以修改了 阅读全文
posted @ 2007-09-04 14:16 ahuo 阅读(333) 评论(0) 推荐(0)
上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 77 下一页