The MASM Forum Archive 2004 to 2012

Project Support Forums => IDE Development and Support => Easy Code => Topic started by: etow on March 11, 2008, 12:05:24 AM

Title: Need help with my project
Post by: etow on March 11, 2008, 12:05:24 AM
Hi

I need some help with my code.
Does any one have the time to help me look at it and figure out what is the problem.

The project does not output anything.  I am not sure what is wrong.

I have included my project in the attachment.

Thanks

[attachment deleted by admin]
Title: Re: Need help with my project
Post by: Ramon Sala on March 11, 2008, 06:59:47 AM
Once again, your not calling the String method in the right way. The first parameter must be the numerical value to be converted, not the address to a buffer as it's being passed several times in the DoDivision procedure. See the String method in the Easy Code help file.


Please include the Res folder when attaching a project.
Title: Re: Need help with my project
Post by: etow on March 11, 2008, 11:35:55 AM
I corrected the Value for String

But I still can not get the output to work.

[attachment deleted by admin]
Title: Re: Need help with my project
Post by: etow on March 12, 2008, 11:39:24 PM
Hi

I found out my problem.

I forgot to place the two instructions which are mentioned below:
     
    ;Get the handle to Results Static control in Eax
    Invoke GetWindowItem, hWnd, IDC_DIVISION_RESULTS
    Invoke SetWindowText, Eax, Addr szBuffer

My complete functioning program is in the attachment.

[attachment deleted by admin]
Title: Re: Need help with my project
Post by: Ramon Sala on March 13, 2008, 06:51:32 AM
Hi,

I'm glad you found out the problem. That is the way.
Title: Re: Need help with my project
Post by: etow on March 14, 2008, 06:33:15 PM
Hi

Here is my complete Basic Division code along executable for Visual project in MASM32 in the attachment.



[attachment deleted by admin]
Title: Re: Need help with my project
Post by: etow on March 14, 2008, 06:34:49 PM
Hi

My final code for Basic Division visual project in Division2.zip attachment above.