flat assembler
Message board for the users of flat assembler.

Index > Windows > Sulaiman code problem

Author
Thread Post new topic Reply to topic
casey



Joined: 18 Aug 2005
Posts: 35
casey
Hi,

Does anyone have bug free versions of Sulaiman Chang's
FASM versions of Iczelion's tutorial code?

I copied the Dialog Box as Main Window and the result
is strange. A window without the blue bar at the top.
Thus no icon, title or buttons. Has no border.

The edit box is there and the 'Say Hello' button
and Exit button.

Sometimes random text appears on window,

MAND,3002,0

g_procedure,NULL

Any ideas?

John

email: jgkjcasey at yahoo.com.au


Description:
Download
Filename: Dialog1.asm
Filesize: 5.12 KB
Downloaded: 62 Time(s)

Post 21 Sep 2005, 10:31
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1608
Location: Ukraine
shoorick
Code:
               wmBYE:
                    pop  edi esi ebx
                    xor eax,eax
                    ret
          endp
    
Post 21 Sep 2005, 11:08
View user's profile Send private message Visit poster's website Reply with quote
casey



Joined: 18 Aug 2005
Posts: 35
casey
Yes thanks that worked. Now I will have to study
the Iczelion tut10 to find out why unless there is
a simple answer someone can give me?

John
Post 21 Sep 2005, 12:44
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1608
Location: Ukraine
shoorick
some examples were written and tested on 9x, but not work proper on 2k/xp.
--
there some differences between these OSes, most of them described in msdn. you should return zero from dialog procedure always in 2k(/xp?) if you wish to pass message to the default dialog procedure. possible this was not obligate in 9x.
Post 21 Sep 2005, 12:48
View user's profile Send private message Visit poster's website Reply with quote
lixasafa



Joined: 22 Sep 2005
Posts: 1
lixasafa
tq shoorick..its work for me too
Post 22 Sep 2005, 14:18
View user's profile Send private message Yahoo Messenger Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.