口袋社区-Poke The BBS's Archiver

最美我中文 发表于 2010-3-3 16:38

谁说VB不底层?用VB6内嵌汇编仿制CPU-Z【检测软件】

原帖:[url=http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=49073&]http://www.planet-source-code.co ... txtCodeId=49073&[/url];lngWId=1
这个可比国内那个pudn大方多了,至少不用登录花积分

标准纯vb6编程,没有额外控件
可以检测cpu型号等等,以及查看指令集等等功能
[table][tr][td=1,1,108][url=http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=49073&lngWId=1#zip][img=42,41]http://www.planet-source-code.com/vb/images/winzipicon_medium.gif[/img][/url]
  [table][tr][td][table=98%,white][tr][td][url=http://www.pscode.com/ads/ad_router.asp?lngWId=1&txtURL=http://www.planet-source-code.com/vb/contest/contest.asp&txtFromUrl=%2Fads%2FShowAd%2EAsp&lngWMId=51&lngAVDRId=780080][img=108,86]http://www.planet-source-code.com/vb/images/PscContestWinner_short.jpg[/img][/url][/td][/tr][/table][/td][/tr][/table] [/td][td=1,2,386][table=98%,white][tr][td][color=#000080]                                                [size=2][b]Submitted on:[/b] 10/7/2003 12:54:00 PM
                                                [b]By:[/b] Paul Caton                                                
                                                [b]Level:[/b] Advanced
[b]User Rating:[/b] 5                   By 53 Users
[b]Compatibility:[/b]VB 6.0

Users have accessed this code 30109 times.
[/size][/color][/td][/tr][/table][/td][/tr][/table]

原文介绍:[size=3][size=1][size=3][size=2][color=#000000]x86cpu's have the ability to self-report their make, model, family,features, cache details etc. The included cCPUID class allows theprogrammer to execute this instruction and retrieve the results. Toabstract the complexities of decoding the CPUID data, the includedcCpuInfo class presents the programmer with a series of read-onlyproperties. As an example of this, the included VBCPUID applicationdisplays the information presented by the cCpuInfo class.If you are wondering why the 'Real Time Speed' display - try runningthe VBCPUID app on a SpeedStep cpu.If you own an unusual cpu, such as an Athlon 64/Opteron, Cyrix etc...I'd be gratefull if you'd go to the 'Actions' tab, 'Save Data...' andemail the file to me.

[img]http://www.planet-source-code.com/Upload_PSC/ScreenShots/PIC200310141336173687.JPG[/img]

下载:[attach]26507[/attach]

[/color][/size][/size][/size][/size]

[[i] 本帖最后由 最美我中文 于 2010-3-3 16:39 编辑 [/i]]

liuyanghejerry 发表于 2010-3-3 20:39

很想看看的,可惜手机党了……

VB的关键还是在效率,易用性方面虽然强大,不过似乎和蟒蛇比起来,蟒蛇更有优势。

W有意学蟒蛇么?

最美我中文 发表于 2010-3-3 20:48

其实还是内嵌了汇编
他的汇编全都是些Long模拟,会的简直不是人……

roywillow 发表于 2010-3-3 21:49

话说……VB能内嵌汇编……?
好奇好奇

最美我中文 发表于 2010-3-3 21:57

vbgood还有中国人首先开发出的用vB写的驱动,你可以去看看

liuyanghejerry 发表于 2010-3-4 13:19

刚才下载看了,基本不懂写的什么- -||

有这种功力的人,肯定不是学不会C\C++吧- -

最美我中文 发表于 2010-3-5 21:43

虽然有点跑题,还是想说……
[size=7]python不是翻译成花刺么……[/size]

页: [1]

Powered by Discuz! Archiver 6.1.0F  © 2001-2007 Comsenz Inc.