Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Thread: Storing memory address as hex in an xml file

Started 2 months, 1 week ago by Jordanwb
Basically what I want to do is store a memory address in hex format instead of decimal in an XmlAttribute value. Can I do that? This is how I want the xml to look: < address name =" type" value =" 0x16694E64" / > instead of: < address name =" type" value =" 376000100" / > Then in C# I have this: int myAddress = Convert.ToInt32 (address.Attributes[ " value" ]....
Site: CodeProject: Discussion Boards. Free source code and programming help  CodeProject: Discussion Boards. Free source code and programming help - site profile
Forum: C#  C# - forum profile
Total authors: 6 authors
Total thread posts: 8 posts
Thread activity: no new posts during last week
Domain info for: codeproject.com

Other posts in this thread:

Christian Graus replied 2 months, 1 week ago
That's an int. An int has no format at all, decimal is just assumed. Use the overloaded ToString method to specify a hex format, or whatever else you like

Jordanwb replied 2 months, 1 week ago
I don't want to save the address to XML via C#, I want to read the address from the XML. Sorry I wasn't specific enough.

PIEBALDconsult replied 2 months, 1 week ago
Have a look at this [ ^ ].

Member 6656753 replied 2 months, 1 week ago
riving license (class) +number: string (constructor) +renewelperiod: int (constructor) + GetLicenseInfo():void (mrthod) + CalculateLicensePrice(): double (method) + DisplayLicenseInfo() : void (method) Based on the above, create a program with the following requirement • GetLicenseInfo() method that input license number and renewal period from user. Display an information to the user either to...

nagendrathecoder replied 2 months, 1 week ago
what are you doing man?

Christian Graus replied 2 months, 1 week ago
Just because someone helped a person who asked a specific question, doesn't mean he'll do your homework. Imagine what this forum would look like if every person with a question started to hijack threads ?

Jacek Gajek replied 2 months, 1 week ago
I am afraid that you have misunderstood Christian's suggestion in your previous post. You are supposed to ask a specific question, not somebody else...

 

Top contributing authors

Name
Posts
Christian Graus
2
user's latest post:
Storing memory address as hex in...
Published (2009-10-24 04:43:00)
Just because someone helped a person who asked a specific question, doesn't mean he'll do your homework. Imagine what this forum would look like if every person with a question started to hijack threads ?
Jordanwb
2
user's latest post:
Storing memory address as hex in...
Published (2009-10-23 19:15:00)
I don't want to save the address to XML via C#, I want to read the address from the XML. Sorry I wasn't specific enough.
Member 6656753
1
user's latest post:
Storing memory address as hex in...
Published (2009-10-24 04:17:00)
riving license (class) +number: string (constructor) +renewelperiod: int (constructor) + GetLicenseInfo():void (mrthod) + CalculateLicensePrice(): double (method) + DisplayLicenseInfo() : void (method) Based on the above, create a program with the following requirement • GetLicenseInfo() method that input license number and renewal period from user. Display an information to the user either to renew the license for 1,2,3 or 5 years. •...
nagendrathecoder
1
user's latest post:
Storing memory address as hex in...
Published (2009-10-24 04:29:00)
what are you doing man?
Jacek Gajek
1
user's latest post:
Storing memory address as hex in...
Published (2009-10-24 07:29:00)
I am afraid that you have misunderstood Christian's suggestion in your previous post. You are supposed to ask a specific question, not somebody else...
PIEBALDconsult
1
user's latest post:
Storing memory address as hex in...
Published (2009-10-23 23:46:00)
Have a look at this [ ^ ].

Related threads on "CodeProject: Discussion Boards. Free source code and programming help":

Related threads on other sites:

Thread profile page for "Storing memory address as hex in an xml file" on http://www.codeproject.com. This report page is a snippet summary view from a single thread "Storing memory address as hex in an xml file", located on the Message Board at http://www.codeproject.com. This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity