|
[求助]SetLocalTime失败
估计你的运行的帐号没有权限设时间,看看gpedit.msc里 |
|
[求助]数组赋初值的写法问题
我又下了C99标准看了一下,写法没问题,是编译器不支持,但我以前确实用vs2008编译通过了的,那么是不是要安装一个什么补丁之类的?有人知道吗? |
|
[求助]请问如何设计自定义错误码?
1.没有区别,但在引用的时候,我如果写 1 2 3 4,这样的错误码,那就太难阅读了 2.那种数组赋值方法,如果漏写了元素的赋值,不会影响到他们本身的顺序,而一般的赋值方法如果漏写了元素,则后面的元素表达的意思就和ENUM中的就不一致了 |
|
[求助]请问如何设计自定义错误码?
[QUOTE=小虾;834383]将所有错误码放入一个数组中: char *lpszErrStr[] = {"xxxx","xxxx",...}; 最后就可以直接显示错误码了。 ShowErrMsg(lpszErrStr[ERROR_XXX]);[/QUOTE] 放在数组中的话,必须要保证数组中的错误信息与ERROR_XXX一致,当错误码太多的时候,输入需要一个一个的比对,有可能因为输入造成不一致,我记得有一种赋值法,但忘了语法了,大概像下面这种样式,请问你知道吗? enum { ERROR_XXX, ERROR_YYY, ERROR_MAX }; const char* szErrorMessage[ERROR_MAX -1] = { [ERROR_YYY] = "YYY错误" }; 意思大概是这样,但写法我由于记不到了,编译不过 |
|
[求助]请问关于拖放目录的问题
我是一个命名空间扩展,我的目录是一个虚拟目录,要往资源管理器拖放 |
|
[求助]ListView中图标有毛边的问题
[QUOTE=鹿剑;821042]这个是ImageList创建时的问题这样就没有毛边了 ImageList[i].Create(16,16,ILC_COLOR32|ILC_MASK,0,0);[/QUOTE] 我试过这样的,还是有毛边,只有添加进的图标是自己的图标时才会没有毛边,如果是获取的系统图标,比如,获取 .txt文件类型图标,就会有毛边 |
|
[讨论]双击文件夹执行一个程序?
这个是shell扩展的一部分,是对任何文件夹都可以的,对文件也可以 |
|
[求助]国内使用ghost备份系统镜像可能是最多的,请问国外呢?
嗯,有点全 补字 |
|
[求助]请问有人知道GHO文件格式的资料吗?
难道武林中曾经出现过GHO的资料? |
|
[求助]winxp下USB移动存储设备驱动问题求解
USB一般是用的UFI指令集,只有十多个命令,因为UFI指令集本身是SCSI指令集的子集,因此有可能Mass Storage驱动是直接转换SCSI命令到UFI指令的,如果如果这个转换逻辑并不检查是否在UFI指令集的范围中,那么自定义的SCSI命令就可以下传达到USB,前提是这个USB fireware也要实现对该请求的应答. 关于这个请求的验证,也不需要改动USB的fireware,用usb抓包工具,像usb lzer之类的,只要能抓到你自定义的请求发送到U盘,那证明就可行了。 |
|
[求助] 有谁做过explorer的监控程序呀。监控explorer打开的目录。找不到好方法呀
双击打开应该会调用IShellBrowser::BrowseObject |
|
[求助]请问有人知道GHO文件格式的资料吗?
只是读取怎么能做猥琐的事呢,仅读,不写 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值