View Single Post
  #3  
Old 03-18-2006, 00:26
kittmaster kittmaster is offline
Friend
 
Join Date: Feb 2005
Location: USA
Posts: 30
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
kittmaster Reputation: 0
Quote:
Originally Posted by Kerlingen
What are you using as "ctrl_str" ?

It also seems you don't write to valEAX, valEBX, valECX or valEDX after you calculated it in the serial loop.

What is "not working as desired" ?
For now those are commented out, I ripped them from the masm forum when I was searching for a method to get the ebx register hex data to my wsprintf dialog.

In the screen shot after the these are typically the commands that would be used to take the serial generator and display it in the keygen output box. The final answer is stored in hex in the ebx register and I want that data to be push to the output dialogbox text.

This is the commands as I figured them:

Code:
invoke wsprintf, addr tempbuffer,  addr decimalformat, eax                                     ; write decimal value of edx 

invoke SetDlgItemTextA,handle,IDC_SERIAL, addr genedserial ; display serial
Reply With Quote