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 2143
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: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
| |