寻求旧的Access 2.0代码来读取MAC地址 [英] Seeking old Access 2.0 code for reading MAC address

查看:81
本文介绍了寻求旧的Access 2.0代码来读取MAC地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

想在Access 2.0中推出一些内容,以便在16位系统上读取MAC

地址。已在32位平台上解决了

但仍需要Access Basic代码的帮助才能从内部执行此操作

Access 2.0。

Would like to roll out something in Access 2.0 to read MAC
address on 16-bit systems. Have resolved on 32-bit platforms
but still need help with Access Basic code to do it from within
Access 2.0.

推荐答案

2005年7月1日星期五14:16:52 -0400,MLH< CR ** @ NorthState.net>写道:
On Fri, 01 Jul 2005 14:16:52 -0400, MLH <CR**@NorthState.net> wrote:
想在Access 2.0中推出一些东西来读取16位系统上的MAC地址。已在32位平台上解决了
但仍需要Access Basic代码的帮助才能在Access 2.0中进行操作。
Would like to roll out something in Access 2.0 to read MAC
address on 16-bit systems. Have resolved on 32-bit platforms
but still need help with Access Basic code to do it from within
Access 2.0.





祝您好运。

如果您的意思是16位平台,例如Win3,我认为您不能使用

API获取它,它是用于网卡的设备驱动程序或者在INI文件中

某处。

如果你的意思是在32位机器上运行Access2,我会通过运行其他的方式将MAC存储在

a文件中(32位)程序首先,然后从

文件中读取。

注意,MAC并不总是与NIC相同,例如机器可能已被重影,

或通过有线调制解调器和USB连接。

HTH David


Hi
Best of luck.
If you mean 16 bit platform eg Win3 don''t think you can get it using
API, it is in device driver for network card or in INI file
somewhere.
If you mean running Access2 on 32 bit machine I would store the MAC in
a file by running some other (32 bit) program first, then read from
the file.
Note, MAC not always same as NIC eg machine may have been ghosted,
or be linked by cable modem and USB.
HTH David


< censored>

是的。当然。有些客户拥有16位win3x盒子,而且我正在向后弯曲

以支持它们。我喜欢A2.0并且我非常熟悉

它。既然我能做到,我就做到了。但是读取MAC地址,我很可能需要一个C程序才能完成这项工作。将结果写入文本

文件。我只是希望Access Basic和API调用可以做

技巧。


最后一个音符让我感到震惊。我绝对想直接读取它本地卡上硬编码地址的
。什么鬼影

意味着有线电视调制解调器链接和USB可能会对读取NIC的MAC地址产生什么影响?
我不能搞砸了。还有

没有歧义的余地,我很害怕。

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
<censored>
Yep. Sure do. Some customers have 16-bit win3x boxes and I''m bending
over backwards to support them. I like A2.0 and am quite familiar with
it. Since I can do it, I do. But reading the MAC address, I''m probably
gonna need a C-program to do the work & write the results to a text
file. I was just hoping Access Basic and an API call might do the
trick.

That last note shakes me a bit. I definitely want to read it directly
off the hard-coded address on the NIC itself. What does ghosting
mean and what impact might cable modem links and USB have on
my reading the NIC''s MAC address. I can''t afford to screw up. There''s
no room for ambiguity, I''m afraid.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
祝你好运。
如果你的意思是16位平台,例如Win3不认为你可以使用
API获取它,它在网卡的设备驱动程序或INI文件
某处。
如果你意味着在32位机器上运行Access2我会先通过运行其他(32位)程序将MAC存储在一个文件中,然后从文件中读取。
注意,MAC并不总是相同的作为NIC,例如机器可能已被幻影,
或通过电缆调制解调器和USB链接。
HTH David
Best of luck.
If you mean 16 bit platform eg Win3 don''t think you can get it using
API, it is in device driver for network card or in INI file
somewhere.
If you mean running Access2 on 32 bit machine I would store the MAC in
a file by running some other (32 bit) program first, then read from
the file.
Note, MAC not always same as NIC eg machine may have been ghosted,
or be linked by cable modem and USB.
HTH David






大卫,重要的是我在安装了网卡的PC上本地运行软件

这是一个本地

网卡的MAC地址我我想读书。我不是想通过网络或广域网或类似的东西来读取一个。


我还面临你提到的不确定因素吗?
David, important is the fact that I''m running software locally
on the PC in which the NIC is installed and it is that local
NIC whose MAC address I''m attempted to read. I''m not trying
to read one across a network or WAN or anything like that.

Am I still facing the host of uncertainties you mentioned?


这篇关于寻求旧的Access 2.0代码来读取MAC地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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