|
:|Hi,
can any one give me a win32 api and also a control or library that can get the NEC MAC address from the Hardware itself not from the registry. it will be good if it can be used in C#.
May god give u good health and knowledge.
|
|
|
|
|
|
i read the articles but the code in them gets them from the registry -and that has a possibility of bieng changed- not from the NIC Hardware, which is what i want.
but
Thanks for reply...;P
May god give u good health and knowledge.
|
|
|
|
|
Reader Man San wrote: gets them from the registry
Little bit of hunting around GetAdaptersInfo, seems to be the api call. Still havnet found where it gets its info from.
http://www.codeproject.com/internet/IPHelper.asp[^]
I suppose the only way to know for sure would be to send a packet to local loop back and interrogate it for the MAC.
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
Thanks,
i will need to check it by using programs that change the registry's saved MAC Address.
___________________________________________
May god give u good health and knowledge.
|
|
|
|
|
Hmm, how about ShellExecuteEx() with an ipconfig /all command piped into t file that your code then opens and reads the MAC address from.
Either that or write an upperlayer driver that has an IOCTL interface which can be opened by your app and sends the query MAC address IOD to the adapter it binds to.
Truth is the subjection of reality to an individuals perception
|
|
|
|
|
Thanks for the second idea, i thought about it but i am not good in hardware drivers, they are hard stuff for me.
___________________________________________
May god give u good health and knowledge.
|
|
|
|
|
I can give you source code for such a 'protocol' driver if you like.
I takes an IOCTL from an app that opens a particular adapter, than, there is a generic OID handling IOCTL. YOu can set/request any OID with this.
It is a complete project, but you will need a DDK, preferably the 2003 server DDK. It has an inf file for installation too.
Truth is the subjection of reality to an individuals perception
|
|
|
|
|
Recently, my PC at work has decided that every 5 minutes or so it will beep several dozen times. The beeps are not evenly spaced, and so I wondered if my PC is trying to send a morse code distress message! Strangely, a colleague's PC did exactly the same about a month ago, so he disconnected the speaker. We never found out what was causing it. I've no idea whether this is a hardware thing, or an OS thing (we're both on Win XP). I don't know where to start looking.
Does anyone have any idea what it could be? Has anyone had the same thing? Is anyone fluent in morse code, and translate the PC's distress call?
"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)
|
|
|
|
|
3 possibilities...
1) The fan and heatsink sitting on your CPU is so clogged that the processor is starting to overheat. Or some other hardware problem, for which you'll have to consult the manufacturer of the machine to find out.
2) You have a virus on your machine.
3) Someone has written and installed a little app on your machines and is in the corner laughing at you, seeing how long it will take before you figure it out.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Thanks for the ideas Dave. My thoughts on those:
1. That was my first thought (which is why I posted on the Hardware board), but as far as I can see the fan is OK, processor temp OK. I would kind of expected the occasional freeze if this was the case anyway. Still, jury's still out on other hardware problems. Bit of a coincidence that a colleagues PC did the same though.
2. Mmm, thought of that too. In some ways more likely, as that would explain why my PC was not the only one, but our AV is generally good - though I know nothing's 100% effective - so we would usually consider ourselves to be (nominally) "virus-free"
3. No-one laughs at me and gets away with it. Do you hear me? NO-ONE!
"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)
|
|
|
|
|
Yeah, I've got some machines aorund here that run fine, right up until the processor melts internally. The heatsink fins get so caked with dirt, in places that you can't see under the fan, that you have to take a can of air to them. Vaccuming them out doesn't do any good.
As for the prank, come on! You can't tell me that you haven't thought of doing this yourself! I did it with a small remote control "fart noise" maker. Taped it to the back of this girls machine and, err, "let 'em rip!" Not very often, but just enough to drive her nuts for about 3 weeks!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Found it: my PS2 mouse is bust. I've switched it for a USB mouse, and I no longer have the beeps. I arrived at that because it started making my mouse pointer jump, and doing a scroll and a right-click, every time a system beep happened.
Dave Kreskowiak wrote: You can't tell me that you haven't thought of doing this yourself!
Yes, I have, but nobody's that much fun around here! In a previous company we used to do that kind of thing all the time. Ah, those were the days...
"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)
|
|
|
|
|
Paul S. Vickery wrote: Recently, my PC at work has decided that every 5 minutes or so it will beep several dozen times.
While not entirely similar, the only time I have had the little speaker go beeping like that was when I was doing a full recompile or something else processor intensive. Turns out the thermal paste was bad. Cleaned the old stuff off and replaced no noise since then. Strange don’t know if checking that will help or not but certainly worth a shot (I was seeing elevated temps on the CPU).
I'd love to help, but unfortunatley I have prior commitments monitoring the length of my grass. :Andrew Bleakley:
|
|
|
|
|
I'm in the last year in computer scince faculty and i'm asking Can I Make an MP3 Palyer Support RM (real Media) . using a specific programming language or it is related to the hard ware itself
Thanks.
|
|
|
|
|
First you'll need to find out what the hardware environment of hte player is and how to reprogram it. Try searching for guides on how to hack mp3 players to find ones that someone else has already figured out how to reprogram. THis will likley consist of loading a minimalist linux distro of some sort, hopefully with a audiuplayer that works with the platform.
Then you need to port/write a RM codec compatable with it. Search for real alternative, IIRC open source.
You'll need to repeat this for each mp3 player family you want to get RM working on.
|
|
|
|
|
Thank you very much
honored
|
|
|
|
|
Hi all,
I got the new SuperMicro X7DA3 server board with 3 PCI-X slots and 1 PCI slot. Two of the three PCI-X slots are connected to PXH-V chipset which is inturn connected to ESB2 chipset and the another one is directly connected to ESB2. When I install a PCI-X 133MHz board on one of the two PCI-X slots on PXH-V chipset, it runs at its full speed (794MBps) which is good, but when I install a 32bit 33MHz card on the second slot, the earlier card's speeds drop down significantly to 284MBps. Coming to the PCI 33MHz slot, when I install a 32bit 33MHz slot, I am getting around 60MBps when I am supposed to get around 90MBps.
Can someone help me out how I can configure these slots for their max bus transfers. I dont card about the 32bit card thats been installed on one of the PXH-V chipset, but I need the other card to run at its full speed. Anyone know about configuring the Latency timer for PCI slots? For now they are in default option, but I can change this value in bios.
thanks,
-Pavan
|
|
|
|
|
i'm using both of windows Me and Windows XP SP2
Windows Me connect automaticlly to network and Internet after
installing LAN Card(calld Ethernet) with its software
but XP SP2 (Original) doesn't connect automaticlly nor manualy ever
I need Help Plz
|
|
|
|
|
if its wireless connection , you have to disable WZC(wireless zero configuration) in winXp,bcoz in winXp its itbuilt facility of OS,so to avoide clash between yr wireless card and WZC it will be better to disable WZC.
rst
|
|
|
|
|
for wired connection ---go to device manager--select properties of yr LAN card and at te bottom of this page check wether its enable or disable....
enable it...
if it works than its fine otherwise uninstall the drivers and reinstall it thru related web site....best of luk
|
|
|
|
|
When I print I Have The printer Dialog box
I selecting the opsion "PRINT TO FILE"
I save this file into c:\
how can I print this file Now?????
|
|
|
|
|
The print to file command just does a raw dump of the data that would have been sent to the printer. Open up the printer's print queue and drag the file into it.
|
|
|
|
|
I never knew you could drag the file! I would always do type filename > lpt1 .
|
|
|
|
|
I want to know what is the best way to print into printer
1. by parallel
2. by usb
3. by net - network(communication)
????????
i have problem, I have code in c#
when I print to file everything is ok
but when I print to printer I have Problem,
the spool is stuck.
I tryed parallel and usb .
it is not so good.
what can I do ??????
|
|
|
|