Like it is often that one is in front of the difficult problem to transform a string into a number...(e.g after an enumeration FindNextFile
and so forth...)....
A handle in a listbox in hexadecimal or the size of a file in a listbox...
here is a little progam made in GoAsm64 bits
for young it will be easy for them to transform it into a form of MASM 32
u1 ---- > length of string
u2 ---- > address of string
u3 ---- > base i.e 10 (decimal) or 16 (hexadecimal)
return value in rax
ConvertToNumber FRAME u1,u2,u3
@B: xor rbx,rbx
lll: sub rax,30h
fff: inc rdx
This message is not at all to ask a question but to give you some ideas...
Try to build a little program with an EditBox
receiving the number into hexadecimal form for example...
I let you to your keyboard....
Had fun time...