Hello James,
The following C program shows how to get MAC address. You can modify this
on DLL form which you can call from VEE.
-- // -----------------------------------------------------------------
//_ __ Hisanori NOGUCHI / Hewlett-Packard Japan, LTD.
// // // // / SSV VXI Solution Group
// // //_// Tel: +81(44)-812-9720 / 3-2-2 Sakado, Takatsu,
// FAX: +81(44)-812-5245 / Kawasaki, 213, JAPAN
// E-Mail: hisanori_noguchi@om.jpn.hp.com
-----------------------------------------------------------------------
------- cut here ----
#include <windows.h>
#include <stdio.h>
void main()
{
NCB ncb;
ADAPTER_STATUS stat;
memset(&ncb, 0, sizeof(NCB));
ncb.ncb_command = NCBRESET;
Netbios(&ncb);
ncb.ncb_command = NCBASTAT;
ncb.ncb_buffer = (PUCHAR)(&stat);
ncb.ncb_length = sizeof(ADAPTER_STATUS);
ncb.ncb_callname[0] = '*';
Netbios(&ncb);
printf("%2.2X-%2.2X-%2.2X-%2.2X-%2.2X-%2.2X
",
stat.adapter_address[0], stat.adapter_address[1],
stat.adapter_address[2], stat.adapter_address[3],
stat.adapter_address[4], stat.adapter_address[5]);
}
------- cut here ----
______________________________ Reply Separator _________________________________
Subject: vrf - How can I find a MAC address on a Network Card from
Author: Non-HP-James.Atkin (James.Atkin@wireless.comdev.ca) at HP-Japan,mimegw2
Date: 99/07/08 22:30
Does anyone know if this can be done ?
perhapse on the the ActiveX controls will give this info ?
Any help would be appreciated.
Thanks
James
The following C program shows how to get MAC address. You can modify this
on DLL form which you can call from VEE.
-- // -----------------------------------------------------------------
//_ __ Hisanori NOGUCHI / Hewlett-Packard Japan, LTD.
// // // // / SSV VXI Solution Group
// // //_// Tel: +81(44)-812-9720 / 3-2-2 Sakado, Takatsu,
// FAX: +81(44)-812-5245 / Kawasaki, 213, JAPAN
// E-Mail: hisanori_noguchi@om.jpn.hp.com
-----------------------------------------------------------------------
------- cut here ----
#include <windows.h>
#include <stdio.h>
void main()
{
NCB ncb;
ADAPTER_STATUS stat;
memset(&ncb, 0, sizeof(NCB));
ncb.ncb_command = NCBRESET;
Netbios(&ncb);
ncb.ncb_command = NCBASTAT;
ncb.ncb_buffer = (PUCHAR)(&stat);
ncb.ncb_length = sizeof(ADAPTER_STATUS);
ncb.ncb_callname[0] = '*';
Netbios(&ncb);
printf("%2.2X-%2.2X-%2.2X-%2.2X-%2.2X-%2.2X
",
stat.adapter_address[0], stat.adapter_address[1],
stat.adapter_address[2], stat.adapter_address[3],
stat.adapter_address[4], stat.adapter_address[5]);
}
------- cut here ----
______________________________ Reply Separator _________________________________
Subject: vrf - How can I find a MAC address on a Network Card from
Author: Non-HP-James.Atkin (James.Atkin@wireless.comdev.ca) at HP-Japan,mimegw2
Date: 99/07/08 22:30
Does anyone know if this can be done ?
perhapse on the the ActiveX controls will give this info ?
Any help would be appreciated.
Thanks
James
from: Greg Goebel / HP-MXD
greg_goebel@hp.com / 800-452-4844
website: ftp://fcext3.external.hp.com/dist/mxd/pc/index.html
to: VRF
date: Friday, 09 July 1999 0808 MDT
Hi All:
I have a VRF user who says he is getting multiple duplicate emails on VRF
postings. We did have a problem with an HP field office feeding VRF mail
to a dead newsgroup server, but we cut that off the list a week ago.
Any other consistent reports of such problems out there?
[<>] regards -- gvg