News:

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

Checking/testing your work

Started by UPucker, August 24, 2005, 04:37:03 AM

Previous topic - Next topic

UPucker

Whats the best way to check your program, test it for problems? I currently write in masm, and when compiled and linked everything runs great for me on winxp and win2000.

I was thinking about trying radasm. Does anyone have any advice/suggestions? What is the advantage in using something like this?


hutch--

RadAsm is a well written GUI based IDE that has many very good support facilities if you want to code in that manner. I would also recommend both EasyCode and Winasm Studio if the IDE concept is one you like.

The default editor in MASM32 is too austere for some of the younger guys ad it is aimed at code production with no frills. Most people over time set up their own editor/IDE to do what they need so as long as you understand how MASM works and the command line stuff, its worth a try if you like the IDE concept.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

raymond

QuoteWhats the best way to check your program, test it for problems?

This would obviously depend on the type of application you wrote and the targeted users.

This may include testing at the various screen dimensions and font sizes as a minimum if you use dialog boxes.

If you require some manual input from the user, let a young child enter some data and see what happens.

Raymond
When you assume something, you risk being wrong half the time
http://www.ray.masmcode.com

czDrillard

Hello UPucker,

As raymond says, it depends on your targeted users.  If you're not going to distribute it and it works for you then I'd say you're done:)

If it 'runs great' for you I assume their are no bugs in the code so the only issues would be appearance and conformity with standard application practices.  By conformity I mean I would expect a right click on an explorer or list view item to produce a popup menu for example, not create a new process and run note pad, etc.  Get some friends to try it out.  Some programmers can be really blind, I know I am :)

Once I wrote an app that used alot of dialog boxes with bitmaps.  These all looked great on my machine but when some friends tried it out they all had the same complaint:  the dialog boxes had missing or mis-placed controls, nothing looked right.  Controls added through a resource editor adjust their sizes proportionally with font size/screen resolution changes but bitmaps and controls added through createwindow don't.  I had to write a scale proc for every window item and resize it dynamically at run time- what a headache.

Btw, when I read this over I see that all I did was repeat and enlarge on what raymond said.  Damn plagiarist:)

best regards,

czDrillard