News:

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

Help with this first program of mine.

Started by chicago, July 09, 2010, 03:33:42 AM

Previous topic - Next topic

chicago

Hey :D

I've been playing with the assembly thing.

I've been able to write some small programs on my own (without cheating   :green LOL).

Now I've come across this problem (twice...).

I copy Izcellion's part 3 example line by line. I think I've understood it and the thing assembles and links, yet, the window does not appear. If I copy paste the code into the same project it does work. Therefore here I attach the problematic files (Rar with OBJ, ASM, and even the EXE).

I hope you could help me find my error.

http://rigel.fca.unam.mx/~li306542084/FirstWin2.rar

Thanks!!!

sinsi

No problems here, even rebuilding it works OK - win7pro x64
Light travels faster than sound, that's why some people seem bright until you hear them.

chicago

Quote from: sinsi on July 09, 2010, 03:58:05 AM
No problems here, even rebuilding it works OK - win7pro x64

:dazzled:
It does work too on my 7Ultimate x64...

On the 95 client does not (it was built there), but... the copied code from the site (on that same project) does work there! :O

What could be happening on the process?

Could it be my IDE?

I use WinAsm, but I don't know if it's good.

mineiro

Insert the line below before register the class.

      mov wc.hIconSm,eax

regards

chicago

Quote from: mineiro on July 09, 2010, 04:08:27 AM
Insert the line below before register the class.

      mov wc.hIconSm,eax

regards

Yey!

So the small icon was the problem!

Thank you! :D

dedndave

you'll find a few errors in Iczelion's tutorials
so - don't be surprised
but, debugging is an important thing to learn, as well   :U

chicago

Quote from: dedndave on July 09, 2010, 04:18:56 AM
you'll find a few errors in Iczelion's tutorials
so - don't be surprised
but, debugging is an important thing to learn, as well   :U

Yep, I'm actually happy to get this kind of errors. Slowly I'll learn to identify them. This particular one was cool because everything looked ok.

Thanks to all. A great community.