如题。
相信对于做过的朋友来说,这是小菜。能帮助解决问题的朋友,另有 1000 分送上。
谢谢

解决方案 »

  1.   

    Checking the Effective Firewall Status
    The firewall status is determined by a combination of two levels of control. To find the effective status, first check the global operation mode then the mode on the interface of interest.To check the global operation mode, use the InternetFirewallEnabled property of the INetSharingConfiguration object. To check the interface operation mode, use an INetFwProfile object to access the FirewallEnabled property and the ExceptionsNotAllowed property to find out if the firewall is enabled and whether exceptions are allowed.
      

  2.   

    奇怪 GetUserName 函数 在 VC 6 上运行成功,可是过了一会,再运行,就失败了,getlasterror 说,没有 足够的内存运行该命令???这是为什么,谁能解释下
      

  3.   

    DWORD dwUser;
    TCHAR szUser[MAX_LOADSTRING]=TEXT("");dwUser=sizeof(szUser); //必须指定缓冲区大小
    GetUserName(szUser, &dwUser);
      

  4.   

    谢谢  chehw(chehw)现在继续问题啊我知道去哪里找到 WIN 补丁的安装地址了,但是这些补丁的编号有什么规律那?我怎么知道这个补丁是什么时候的?INetSharingConfiguration 应该是 .NET 的东西吧