|
[求助]如何捕获RDP协议?
你自己做个网卡驱动吧! |
|
[求助]PCI支持热插拔吗
说说我的思路,具体我也没弄过,细节你得自己查。 1、计算机(就说PC吧!)能够在开机时发现硬件,是因为它有个自检。如果你想动态地发现系统的硬件变化,就是要随时能够执行这个自检。 2、其实计算机在启动状态下的每个元器件都是在电路上的,有的处于线路断开状态,有的处于线路闭合状态。处于线路闭合状态的,就能工作。这个我想稍懂点电路的都明白是什么意思。 3、一个卡在没插到槽上之前,槽这部分的电路明显是断开的,一旦插上,就形成了闭合电路。这时卡就能融入计算机整体,开始工作了。你只要能够判断这个电路的连通与否,就掌握了动态自检的时机,进而就是启动自检程序的问题了。 原理就是这么多。不过要实现可不简单了。我也就能说这么多,再往下我也不会了。不过基于这个原理,根本不用考虑什么PCI与否,任何PC的硬件都有电路规范的,这个首先要对电路编程,这个可比驱动还低,然后才是调用自检程序。 |
|
|
|
多线程编程,可以不依赖平台API吗?
很多时候,不是做不到,而是想不到。 |
|
多线程编程,可以不依赖平台API吗?
愿闻其详! |
|
|
|
[讨论]关于类与类共享数据(无亲朋好友关系)
首先,类库也是针对某个需求而产生的,所以先把那个需求抽象了再说。 再者,这种玩意儿,因为抽象后派生、子化的适用性关系,无一不是接口先行的, 最后,因为这个事很大,我也只能说这些,你那个问题在这个整体问题框架下的话应该不算啥,难事。 祝你好运吧! |
|
[求助]很多商业软件是按照CPU核数、服务数买的,这是怎么做到的?
问题是,我想尽量用普通C实现,少用平台相关代码。 |
|
[求助]很多商业软件是按照CPU核数、服务数买的,这是怎么做到的?
明白你的意思了,ok!! 有没有必要直接将代码塞到指定的CPU寄存器上呢?(这个当然要汇编了),这个当然要针对每个核,要塞的话,一个也跑不了了。这样做必要吗?为什么!? |
|
[求助]很多商业软件是按照CPU核数、服务数买的,这是怎么做到的?
哥们儿,我那个“买”字写错了,因为是标题没法编辑,应该是“卖”。不过反过来对买家而言不就是买吗!一样的。你要是明白了何必扣字眼呢!? |
|
[求助]如何实现只允许特定的计算机名登陆3389?
与楼上“地狱怪客”的回答类似,不过它要替换界面。我看连界面都没必要替换,直接做一个网络数据包拦截程序,至于挂在什么上,或者独立运行看你的情况。网络通信说到底是IP和端口,你只要拦截下来就能知道,任何一个包的来源IP,这样你就能做了。 我说的是socket的情况。如果你用别的,类似灵活一下也是一样。 |
|
[求助]如何实现只允许特定的计算机名登陆3389?
其实很简单,只要判断远程的IP就可以了。用程序截这个,然后判断,是的放行,不是的丢弃。 |
|
[求助]很多商业软件是按照CPU核数、服务数买的,这是怎么做到的?
你说得太虚了。没法指导人编程。 |
|
[讨论]关于类与类共享数据(无亲朋好友关系)
我说的不一定对,错了勿怪。 你不要一上来就考虑编代码,先把问题想清楚。 首先,要存数据,用于公共访问。 接着,用面向对象思想设计一下,把这个数据设计成类,在运行时使之实例化,赋值,放开访问。至于是不是全局其实取决于访问的生命期长短和作用域。 这样一来,就知道怎么弄了。程序你也知道怎么写了。 |
|
[求助]很多商业软件是按照CPU核数、服务数买的,这是怎么做到的?
估计是我水平低,理解不了。感觉你说了跟没说一样。 我需要听的是原理,并不是什么函数,反正你两个都没说。前一个问题我大致知道。但后一个问题却是真的不知道怎不么实现。//我刚刚补充了问题。 |
|
[求助]很多商业软件是按照CPU核数、服务数买的,这是怎么做到的?
哥们儿,我觉得说的很明白,你要是不明白可以有针对性的问。我说的这种情况是针对Oracle等商用软件的,他们卖的时候都是类似这么卖的。这不是什么黑客偏门的东西。你要是接触过肯定明白我说的是什么。 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值