|
|
|
[求助]能够不能够实现只让一台机器上运行10个实例
最初由 thinkSJ 发布 程序非正常结束的情况,资源是否会被释放我也不清楚 但内核对象用于防止进程重复执行的可行性,已经得到大量的实践的证实 |
|
[求助]能够不能够实现只让一台机器上运行10个实例
[color=#0000D0]HANDLE[/color] g_hHandle; g_hHandle = [b][color=#000080]CreateMutex[/color][/b]([color=#0000D0]NULL[/color], [color=#0000D0]FALSE[/color], [color=#808080]"Mutex Name"[/color]); [color=#0000D0]if[/color]([b][color=#000080]GetLastError[/color][/b]() == ERROR_ALREADY_EXISTS) [color=#008000]//Mutex已经存在[/color] { [color=#0000D0]return[/color] [color=#0000D0]FALSE[/color]; } |
|
|
|
|
|
[求助]能够不能够实现只让一台机器上运行10个实例
最初由 analog 发布 我的答案完全是针对这个问题: 最初由 analog 发布 |
|
[求助]能够不能够实现只让一台机器上运行10个实例
最初由 analog 发布 个人愚见: Mutex1 ~ Mutex10 ,如果全都在,就拒绝运行,否则就创建一个 |
|
|
|
|
|
[原创]ODbgScript v1.51 release(2006-7-25)
谢关心~~ 字符串比较条件断点已经弄明白了~~~ 经过一番努力,病因已经查明:在 Olly Advanced 插件中选中了 【Flexible Breakpoints】 选项 其实在使用其它插件时遇到过相同的问题,当时论坛里无人出来解答 再一次浪费了 hnhuqiong 大侠的宝贵时间,万分愧疚 |
|
[原创]ODbgScript v1.51 release(2006-7-25)
由于不会写字符串比较的条件断点,尝试写了个脚本解决,发现如下问题,不知道是Plugin的Bug还是OD的Bug: var pCreateWindowExA var tmp start: gpa "CreateWindowExA" , "user32" mov pCreateWindowExA , $RESULT bp pCreateWindowExA eob break break: cmp eip , pCreateWindowExA jne DoNothing mov tmp , esp // \ add tmp , 8 // |->取ClassName mov tmp , [tmp] // / CMP tmp , "XXXXXXXXXXXX" je DoNothing run DoNothing: 每次中断在CreateWindowExA都会弹出上面的错误提示,如果选“是”,该提示会一直弹出,只有选“否”才能通过 |
|
[原创]ODbgScript v1.51 release(2006-7-25)
建议为“脚本运行窗口”以及“脚本日志窗口”增加快捷键,方便脚本调试 |
|
|
|
[求助]vb与vc混合编译,无法连接
请问这又是什么问题 Microsoft (R) Incremental Linker Version 6.00.8168 Copyright (C) Microsoft Corp 1992-1998. All rights reserved. LIBC.lib(crt0.obj) : error LNK2001: unresolved external symbol _main D:\LinkWithVC\LinkWithVC.exe : fatal error LNK1120: 1 unresolved externals |
|
[求助]vb与vc混合编译,无法连接
谢谢楼上的 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值