• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Fcoding_狂人
自由 编码 Fcoding
博客园    首页    新随笔    联系   管理     
2012年7月6日
GetOSUserName() ---获取系统用户名函数
摘要: 1 #pragma comment(lib,"Netapi32.lib") 2 #include <BaseTsd.h> 3 #include <Lm.h> 4 #include <LMERR.H> 5 #include <LMAPIBUF.H> 6 #include <vector> 7 8 vector<CString> m_account; 9 10 11 void GetOSUserName() 12 13 { 14 15 LPUSER_INFO_1 pBuf = NULL; 16 17 LPU 阅读全文
posted @ 2012-07-06 23:25 Fcoding_狂人 阅读(473) 评论(0) 推荐(0)
在国外一个开源项目摘出来的一个异常抛出DMP 类
摘要: 源代码地址http://www.koders.com/cpp/fid0D70CAB44456E71247468C98A1D01A2F758153FE.aspx?s=md5.h 1 // FileZilla - a Windows ftp client 2 3 // Copyright (C) 2004 - Tim Kosse <tim.kosse@gmx.de> 4 5 // This program is free software; you can redistribute it and/or 6 // modify it under the terms of the GNU 阅读全文
posted @ 2012-07-06 16:43 Fcoding_狂人 阅读(1088) 评论(2) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3