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 21 Sep 2005, 10:31
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: 229 Time(s)

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



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 21 Sep 2005, 11:08
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 21 Sep 2005, 12:44
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: 1614
Location: Ukraine
shoorick 21 Sep 2005, 12:48
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 22 Sep 2005, 14:18
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.