The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: elmo on October 16, 2010, 02:36:36 AM

Title: how to convert handle value to string?
Post by: elmo on October 16, 2010, 02:36:36 AM
I create ComboBox:



.data?
hCombo1     dd ?

.code:
invoke CreateWindowEx,blablablabla.......
mov hCombo1,eax




Now, I want to display hCombo1 in the TextBox or I want to convert hCombo1 to string..
How it's code? Thank you.
Fritz Gamaliel
Title: Re: how to convert handle value to string?
Post by: Farabi on October 16, 2010, 03:45:34 AM
invoke dw2a,hCombo1, addr buff ;  << Now buff contain the string of the handle on decimal.