I will be happy if someone will help me with this:
- how to get mainboard serial number
- how to get bioos serial number, bios name
- how to get hard drive serial number (GetVolumeInformation doesn't fit
here, because this gets partition serial number, given everytime after
formating it)
Are there some other unique thing in PC?
I don't want to get it from registry, it shopuld be (ASM, C or WinAPI)
I searched a littrle but with no interesting results 4 2144
Eddie <on*******@tenbit.pl> scribbled the following: I will be happy if someone will help me with this:
- how to get mainboard serial number - how to get bioos serial number, bios name - how to get hard drive serial number (GetVolumeInformation doesn't fit here, because this gets partition serial number, given everytime after formating it)
Are there some other unique thing in PC?
I don't want to get it from registry, it shopuld be (ASM, C or WinAPI)
I searched a littrle but with no interesting results
This couldn't have much less to do with the C programming language. I
think you want to ask in comp.os.ms-windows.programmer.win32.
--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"'It can be easily shown that' means 'I saw a proof of this once (which I didn't
understand) which I can no longer remember'."
- A maths teacher
"Eddie" <on*******@tenbit.pl> wrote in message
news:ci**********@nemesis.news.tpi.pl... I will be happy if someone will help me with this:
- how to get mainboard serial number - how to get bioos serial number, bios name - how to get hard drive serial number (GetVolumeInformation doesn't fit here, because this gets partition serial number, given everytime after formating it)
Are there some other unique thing in PC?
I don't want to get it from registry, it shopuld be (ASM, C or WinAPI)
I searched a littrle but with no interesting results
Well, this is possible using standard C but improbable.
You can use what follows and hope for the best.
int main(void)
{
int x = 10;
printf("Conjure up mainboard serial number %u\n", ++x + ++x);
return 0;
}
"j" <ja**********@bellsouth.net> writes: "Eddie" <on*******@tenbit.pl> wrote in message news:ci**********@nemesis.news.tpi.pl... I will be happy if someone will help me with this:
- how to get mainboard serial number - how to get bioos serial number, bios name - how to get hard drive serial number (GetVolumeInformation doesn't fit here, because this gets partition serial number, given everytime after formating it)
Are there some other unique thing in PC?
I don't want to get it from registry, it shopuld be (ASM, C or WinAPI)
I searched a littrle but with no interesting results
Well, this is possible using standard C but improbable.
You can use what follows and hope for the best.
int main(void) { int x = 10;
printf("Conjure up mainboard serial number %u\n", ++x + ++x);
return 0; }
I tried this program and it didn't work. Then I realized the
problem. This must be code for a big endian machine - the
expression for the value to be printed should be changed to
x++ + x++
to get it to work on a little endian machine.
Tim Rentsch wrote: "j" <ja**********@bellsouth.net> writes: "Eddie" <on*******@tenbit.pl> wrote in message news:ci**********@nemesis.news.tpi.pl...
I will be happy if someone will help me with this:
- how to get mainboard serial number - how to get bioos serial number, bios name - how to get hard drive serial number (GetVolumeInformation doesn't fit here, because this gets partition serial number, given everytime after formating it)
Are there some other unique thing in PC?
I don't want to get it from registry, it shopuld be (ASM, C or WinAPI)
I searched a littrle but with no interesting results
Well, this is possible using standard C but improbable.
You can use what follows and hope for the best.
int main(void) { int x = 10;
printf("Conjure up mainboard serial number %u\n", ++x + ++x);
return 0; }
I tried this program and it didn't work. Then I realized the problem. This must be code for a big endian machine - the expression for the value to be printed should be changed to
x++ + x++
to get it to work on a little endian machine.
;P This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: ivan_oj28 |
last post by:
Hi, I am developing an application where I need to read the caller id
from an incoming call. The only info (for now) I need is the caller id
info, so that I can display the propper caller info on...
|
by: Frank |
last post by:
Using Python 2.2.2,
I want to catch all exceptions from "socket.gethostbyaddr(ip)"
From IDLE, I can generate:
>>> socket.gethostbyaddr('1.2')
Traceback (most recent call last):
File...
|
by: riki |
last post by:
hi,
i've asked this question before and didn't get an answer...maybe i didn't
explain it well so i'll try again...
--------------------------------------
main.html
i'm calling popUp like...
|
by: alex |
last post by:
Hi,
I'd like to get the name of the class & method I'm using.
For example :
class myclass{
function myfunction()
{
echo "class name : " . get_class($this) ;
echo "method name : " . ?????? ;...
|
by: Gary van der Merwe |
last post by:
I have a web application which has a custom error handler
which displays frendly message to user and emails me the
details.
The standard Asp.NET error handler page will, if the
project is in...
|
by: Lloyd Dupont |
last post by:
I'm trying to print some of my document.
The problem is, the rendering of the document is not done through GDI+ at all but through plain old GDI, and I need it like that as I am using Uniscribe to...
|
by: Satheesh Babu B |
last post by:
hai..
am having a checkboxlist..now how do i get the value of the checkbox
that is checked in checkboxlist using javascript?
Thanks in advance....
Regards,
|
by: rksadhi |
last post by:
/*Geting error ---object reference not set to an instance---at bold line----plz reply asap thanks in advance*/
cmd = new OleDbCommand ("SELECT e.emp_id,e.email, m.email AS Email FROM emp_details...
|
by: monirul arfin |
last post by:
Now I have another problem my pc is geting slow , But I am everyday perform disc defregment, disc checking, remove temp ( *.tmp, %temp% ) . And in my computer all drives have above 60% free space,...
|
by: r0g |
last post by:
I'd like PHP to send mail to a local mailserver running at localhost:25
like I used to on windows. This mailserver is a dummy server which just
writes the mail to disk for unit testing and works...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |