|
[求助]关于获取远程MAC地址的代码
invoke SendARP,eax,NULL,addr pulMAC,addr ulLen;发送arp数据包 |
|
WDM驱动程序内加汇编代码问题
最初由 jwtck 发布 建议看一下加载顺序 |
|
|
|
[讨论]如何获取文件时间(本地)
winker你的还是少了FileTimeToLocalFileTime |
|
[讨论]如何获取文件时间(本地)
// 测试代码如下:谢谢大家帮忙;)) // SystemTimeToTzSpecificLocalTime 也应该可以,不过感觉麻烦一些 // tsttime.c #include <windows.h> #include <stdio.h> int main(int argc, char *argv[]) { unsigned filesizes = 0; WIN32_FIND_DATA wfd; FILETIME filetime; SYSTEMTIME systime; HANDLE hFind = FindFirstFile(__FILE__, &wfd); printf("文件:%s\n",__FILE__); filesizes = wfd.nFileSizeLow; FileTimeToLocalFileTime(&wfd.ftLastWriteTime,&filetime); FileTimeToSystemTime(&filetime,&systime); printf("文件时间 %d-%.2d-%.2d %.2d:%.2d\n", systime.wYear, systime.wMonth, systime.wDay, systime.wHour, systime.wMinute); // 输出 printf("文件大小:%d\n",filesizes); FindClose(hFind); // 关闭查找句柄 return 0; } /* typedef struct _WIN32_FILE_ATTRIBUTE_DATA{ DWORD dwFileAttributes; FILETIME ftCreationTime; FILETIME ftLastAccessTime; FILETIME ftLastWriteTime; DWORD nFileSizeHigh; DWORD nFileSizeLow; } WIN32_FILE_ATTRIBUTE_DATA, *LPWIN32_FILE_ATTRIBUTE_DATA; */ //WIN32_FILE_ATTRIBUTE_DATA fdata; //ret = GetFileAttributesEx(__FILE__,GetFileExInfoStandard,&fdata); //filesizes = fdata.nFileSizeLow; 编辑了一下,把无关信息放到底下来了 |
|
[讨论]如何获取文件时间(本地)
刚刚搞清楚了,用的FileTimeToLocalFileTime, FileTimeToLocalFileTime(&fdata.ftLastWriteTime,&filetime); 然后再用 FileTimeToSystemTime(&filetime,&systime); 就是正确的时间了/:) |
|
[讨论]如何获取文件时间(本地)
一样的,主要是要把文件转换为本地时间 GetFileAttributesEx也是取得一个FILETIME结构,然后转化为本地时间,那个wfd里面也是取得FILETIME结构 |
|
|
|
[求助]ollydbg支持c语言源码调试吗
最初由 thebutterfly 发布 vc6的可以了,呵呵呵呵 谢谢大家 |
|
|
|
[求助]ollydbg支持c语言源码调试吗
最初由 CCDebuger 发布 我是这样编译的 cl /Zi /c *.cpp link /debug /out:pr.exe *.obj 然后od载入,感觉应该没有错阿,但是还是不行,点源码,然后F8,还是空白,不过注释倒是有东西看 我换了几个版本的都不行,难道这就是传说中的人品问题? 还有直接ctrl+d的那个也用了, 然后我不是以管理员登陆的,换到管理员还是不行,郁闷死了 但是msdev.exe可以载入调试 |
|
[求助]ollydbg支持c语言源码调试吗
最初由 CCDebuger 发布 汇编我知道可以这样编译,然后使用od载入,在察看,原文件选项就可以看到文件,然后可以打开,特别是你汉化的radasm里面就有 ,但是c语言察看,里面是空的,看不到原文件,昨天后来,我还是用vc载入调试的, |
|
[求助]一算法问题(作业),多处求解无果
感觉要6个 |
|
(a+b)^c的展开式是什么?
哈哈哈,我也想错了,而且也不记得这个的优先级了 |
|
[转帖]一个自动登录网站的脚本
比如如下的登陆框 <tr> <td width="35%" align="right" class="tBlack">用户名: </td> <td width="65%" align="left" class="tBlack"> <input type="text" name="username" size="15%" maxlength="32"> </td> </tr> <tr> <td width="35%" align="right" class="tBlack">密 码: </td> <td width="65%" align="left" class="tBlack"> <input type="password" name="password" size="15%" maxlength="32"> </td> </tr> 是不是这里就是username.value 和password.value阿 wshell.sendkeys "~" wshell.sendkeys"^w"关闭IE 发送~和^w 是什么意思啊。 关闭IE前面应该有'吧,对脚本不懂得说,呵呵呵呵、 我们上网需要认证,我试了一下,提示找不到 username对象 |
|
[讨论]大家平时都是怎么整理硬盘上的资料的
最初由 dwing 发布 感觉有难度阿,太多东西了,感觉无从下手,每次都中途看其他东西了,呵呵呵呵,而且,感觉资料整理是个很复杂的东西,要想把东西整理的头头是道,需要分类,分类又有好多标准,然后好多东西又有交叉,然后就好郁闷了 最初由 笨奔 发布 不会几个硬盘同时坏萨,呵呵,还是感觉放盘里舒服 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值