News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Need help with my project

Started by etow, March 11, 2008, 12:05:24 AM

Previous topic - Next topic

etow

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]

Ramon Sala

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.
Greetings from Catalonia

etow

I corrected the Value for String

But I still can not get the output to work.

[attachment deleted by admin]

etow

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]

Ramon Sala

Hi,

I'm glad you found out the problem. That is the way.
Greetings from Catalonia

etow

Hi

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



[attachment deleted by admin]

etow

Hi

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