Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» 为何CnHardWareInfo不能安装
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 为何CnHardWareInfo不能安装
wzs168
新警察
UID 41656
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2009-1-18
Status Offline
#1
Post at 2009-1-18 13:53
Profile
|
Blog
|
P.M.
为何CnHardWareInfo不能安装
为何CnHardWareInfo不能安装
加进去,在工具栏也没有
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2009-1-18 23:06
Profile
|
Blog
|
P.M.
看看它的声明?它不是继承自TComponent的,因此不能安装在组件面板上,只能作为类来直接使用。
wzs168
新警察
UID 41656
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2009-1-18
Status Offline
#3
Post at 2009-1-20 21:56
Profile
|
Blog
|
P.M.
如何d在c++builder下使用,举一个例子
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#4
Post at 2009-1-21 15:14
Profile
|
Blog
|
P.M.
请参考Examples\HardwareInfo目录下的CPUID例子。不过HardwareInfo单元目前尚不完善,只支持CPUID方面的一些内容,其余比如主板硬盘等都不支持。
wzs168
新警察
UID 41656
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2009-1-18
Status Offline
#5
Post at 2009-1-21 22:37
Profile
|
Blog
|
P.M.
为何没有c++builder的例子,Passion (LiuXiao)
你好:能给一个c++builder的例子吗?
Edit1->Text=CnGetBiosID();不出任何信息
如何调用GetFirstCPUId()
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#6
Post at 2009-1-21 23:48
Profile
|
Blog
|
P.M.
CnGetBiosID()可能因为BIOS类型不同而没法做到都支持。返回空值即表示不支持的BIOS类型。
GetFirstCPUId()是个方法,创建类的实例,直接调用它即可。
wzs168
新警察
UID 41656
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2009-1-18
Status Offline
#7
Post at 2009-1-22 19:34
Profile
|
Blog
|
P.M.
GetFirstCPUId()是个方法,创建类的实例,直接调用它即可。
先要在FormCreate下定一个类吗
这样定行吗?
CnHardWareInfo *CnCpuID ;
wzs168
新警察
UID 41656
Digest Posts 0
Credits 12
Posts 5
点点分 12
Reading Access 10
Registered 2009-1-18
Status Offline
#8
Post at 2009-2-1 12:12
Profile
|
Blog
|
P.M.
GetFirstCPUId()是个方法,创建类的实例,直接调用它即可
但是找不到GetFirstCPUId(),如何解决
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 12:28
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008415 second(s), 7 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats