USB 2.0记忆棒 [英] USB 2.0 Memory Stick

查看:88
本文介绍了USB 2.0记忆棒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨到theForcesOfCpp!我只是想知道是否有任何简单的方法来读取连接到USB端口的记忆棒的序列号?
?东西

喜欢读取硬盘的供应商号码...操作系统:Windows XP环境:

Borland C ++ BuilderX个人或MS Visual Studio 2005 ExpressAny帮助/

样本会很棒...... Thanx提前,Joe

Hi to theForcesOfCpp!I''m just wondering if there is any simple way to read
the serial number of an memory stick connected to an USB port? Something
like reading the vendor number of a hard disk... OS: Windows XPEnvironment:
Borland C++BuilderX Personal or MS Visual Studio 2005 ExpressAny help /
sample would be great...Thanx in advance,Joe

推荐答案

Joe Macarony写道:
Joe Macarony wrote:
嗨到theForcesOfCpp!我只是想知道是否有任何简单的方法来阅读序列号[..]
Hi to theForcesOfCpp!I''m just wondering if there is any simple way to read
the serial number [..]




Nope。 C ++ _language_没有序列号的定义或USB 2.0

Memory Stick。您需要在新闻组中询问您的操作系统。



Nope. C++ _language_ has no definition of "serial number" or "USB 2.0
Memory Stick". You need to ask in a newsgroup that deals with your OS.




" Victor Bazarov" <五******** @ comAcast.net>在消息中写道

新闻:fY ****************** @ newsread1.mlpsca01.us.to .verio.net ...

"Victor Bazarov" <v.********@comAcast.net> wrote in message
news:fY******************@newsread1.mlpsca01.us.to .verio.net...
Joe Macarony写道:
Joe Macarony wrote:
嗨到theForcesOfCpp!我只是想知道是否有任何简单的方法来阅读序列号[..]
Hi to theForcesOfCpp!I''m just wondering if there is any simple way to
read the serial number [..]



不。 C ++ _language_没有序列号的定义或USB 2.0
Memory Stick。你需要在新闻组中询问你的操作系统。



Nope. C++ _language_ has no definition of "serial number" or "USB 2.0
Memory Stick". You need to ask in a newsgroup that deals with your OS.




你好Victor!


好​​像我没有'没有正确地表达我的。我正在寻找一个和平的
的C ++代码,它可以读出USB 2.0记忆棒的序列号。我不会看到我可以从windows中读出的简单的东西

注册表。


" My"操作系统是作为Windows Xp编写的,因为我会尝试播放。在Windows上使用这个

类代码,而不是在某些Linux / Unix / Mac / Simbian / WhatEver上......


Thanx无论如何,希望是清楚我在尝试什么?得到帮助?


Joe



Hi Victor!

It seems like I didn''t express myselft correctly. I am looking for a peace
of C++ code which reads out the serial number of an USB 2.0 memory stick. I
am not looking the simple things that I can read out from the windows
registry.

"My" OS is written as Windows Xp, because I will try to "play" with this
kind of code on Windows, and not on some Linux/Unix/Mac/Simbian/WhatEver...

Thanx anyway, hope that is clear what for I am tryin? to get help?

Joe


2005年12月14日星期三22:37:13 +0100,Joe Macarony写道:
On Wed, 14 Dec 2005 22:37:13 +0100, Joe Macarony wrote:

好像我没有正确地表达我的。我正在寻找一个和平的C ++代码,它可以读出USB 2.0记忆棒的序列号。我没有看到我可以从windows
注册表中读出的简单内容。

我的操作系统是作为Windows Xp编写的,因为我会尝试播放。在Windows上使用这种代码,而不是某些Linux / Unix / Mac / Simbian / WhatEver ......

It seems like I didn''t express myselft correctly. I am looking for a peace
of C++ code which reads out the serial number of an USB 2.0 memory stick. I
am not looking the simple things that I can read out from the windows
registry.

"My" OS is written as Windows Xp, because I will try to "play" with this
kind of code on Windows, and not on some Linux/Unix/Mac/Simbian/WhatEver...




访问该级别的硬件需要第三方API。对于此类事物,在ISO C ++语言级别上没有定义

支持。

将它置于此新闻组的范围之外,该新闻组仅处理使用标准C ++语言可以完成的



每个平台/操作系统都不同。因此,为了了解如何在您的特定平台上执行您想要的操作,您需要在新闻组中询问特定的

到该平台。
<祝你好运!祝你好运!


- 周杰伦



Accessing that level of hardware requires third-party APIs. There is no
support defined at the level of the ISO C++ language for such things. That
puts it outside the scope of this newsgroup, which only deals with what
can be done with the standard C++ language.

Each platform/OS is different. So in order to find out how to do what you
want on your particular platform, you need to ask in a newsgroup specific
to that platform.

Good luck!

- Jay


这篇关于USB 2.0记忆棒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆