![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Windows
百云在飘
这个作者很懒,什么都没留下…
展开
-
如何在 Windows XP 中安装 Microsoft 环回适配器
要在 Windows XP 中手动安装 Microsoft 环回适配器,请按照下列步骤操作: 单击“开始”,然后单击“控制面板”。 如果您在经典视图中,请单击左窗格中的“控制面板”下的“切换到分类视图”。 双击“打印机和其它硬件”,然后单击“下一步”。 在左窗格中的“请参阅”下,单击“添加硬件”,然后单击“下一步”。 单击“是,我已经连接了此硬件”,然后单击“下一步”。 在列表的底部,单击“添加新的硬件设备”,然后单击“下一步”。 单击“安装我手动从转载 2010-12-30 16:03:00 · 954 阅读 · 0 评论 -
Configuring the krb5.ini File for Active Directory
The information in this article applies to: Product: Knowledge Exchange Version: 6.1.x Issue How do I configure krb5.ini? Resolution The following file is used as a sample: [libdefaults]default_realm=TESTSERVER.COMdefault_t转载 2010-12-31 11:12:00 · 2031 阅读 · 0 评论 -
TCP/UDP Socket编程 C/C++实现(Windows Platform SDK)
TCP Socket编程 C/C++实现 (Windows Platform SDK) Server: ------------------------------------------------------------ #pragma comment(lib, "ws2_32.lib") #include #include void main() { //版本协商 WORD wVersionRequested; WSADATA ws转载 2011-01-05 08:22:00 · 1226 阅读 · 0 评论 -
Setspn.exe
下面是使用 Setspn.exe 命令行实用程序的基本语法,其中“accountname”可以是单独的名称,也可以是域/名称。 setspn [parameter] accountnameSetspn.exe 可以使用下列参数:参数 功能 示例-R 重置 HOSTServicePrincipalName。 setspn -R computername-A 添加任意的 SPN。 setspn -A SPN computern原创 2011-01-30 11:29:00 · 8548 阅读 · 0 评论 -
调试工具DebugView for Windows (Dbgview.exe)
Introduction DebugView is an application that lets you monitor debug output on your local system, or any computer on the network that you can reach via TCP/IP. It is capable of displaying both kernel-mode and Win32 debug output, so you don't need a debugg原创 2011-02-12 14:45:00 · 4734 阅读 · 0 评论 -
window调试和日志
#ifdef UNICODE #undef UNICODE #endif #include #include #include #include #include #include #include #define SECURITY_WIN32 #include #include #include FILE *log_file; inline void SSPI_LOG(const char *原创 2011-03-04 16:20:00 · 1100 阅读 · 0 评论 -
VC调用DLL
调用DLL有两种方法:静态调用和动态调用. (一).静态调用其步骤如下: 1.把你的youApp.DLL拷到你目标工程(需调用youApp.DLL的工程)的Debug目录下; 2.把你的youApp.lib拷到你目标工程(需调用youApp.DLL的工程)目录下; 3.把你的youApp.h(包含输出函数的定义)拷到你目标工程(需调用youApp.DLL的工程)目 录下; 4.打开你的目标工程选中工程,选择Visual C++的Project主菜单的Settings菜单; 5.执行第4步后,V转载 2011-02-16 13:12:00 · 501 阅读 · 0 评论 -
线程本地存储(Windows和Linux)
一、线程本地存储(Windows, Thread Local Storage) TLS 是一个机制,经过它,程序可以拥有全局变量,但处于“每一线程各不相同”的状态。也就是说,进程中的所有线程都可以拥有全局变量,但这些变量其实是特定对某个 线程才有意义,各个线程拥有全局变量的一个副本,各自之间不相影响。就是这么一个意思,比如我定义了一个全局变量 int a=10,那么我在线程1中对a进行操作a=a-1,如果我 没用TLS,那么线程2开始获得的a就是9。而如果采取了TLS,不管线程1中对a原创 2011-05-17 18:48:00 · 4344 阅读 · 0 评论 -
查找文件的类 struct _finddata_t结构体用法
到底如何查找文件呢?我们需要一个结构体和几个大家可能不太熟悉的函数。这些函数和结构体在的头文件中,结构体为struct _finddata_t ,函数为_findfirst、_findnext和_fineclose。具体如何使用,我会慢慢讲来~ 首先讲这个结构体吧~ struct _finddata_t ,这个结构体是用来存储文件各种信息的。说实话,这个结构体的具体定义代码,我没有找到,不过还好,文档里面在_find里有比较详细的成员变量介绍。我基本上就把文档翻译过来讲吧: unsign转载 2011-04-29 16:22:00 · 15040 阅读 · 3 评论