The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: arjuns on January 06, 2006, 12:08:04 PM

Title: Convert string to Hex
Post by: arjuns on January 06, 2006, 12:08:04 PM
Hi masterz out there,
I am totally beginer in win32 asm programming.What I want to say is I have a data in a buffer that is provided by the user and I want to conver that buffer data to Hex value. I don't know how to make it.
I am again sorry if my question doesn't make any sense..
:(
kind regards
arjuns
Title: Re: Convert string to Hex
Post by: Tedd on January 06, 2006, 01:47:36 PM
What is the data - numbers, digits, letters, binary, ....??
Is this homework? :bdg
Title: Re: Convert string to Hex
Post by: gabor on January 06, 2006, 01:53:55 PM
Hi!

Welcome to the board!  :U

First of all I don't understand why did you start 2 topics on string to hex converter? Secondly I recommend you to start searching for this subject either on th e Internet or here on MASM forum. This is a programing gem indeed that is discussed everywhere.

You can make a search on 'hex string convert' or just check out the source of the ATODW function of masm32 library.

Please, don't expect to get the work done by someone else by asking for full source code. This is an easy task you can handle it by yourself.

Greets, Gábor