flat assembler
Message board for the users of flat assembler.

Index > Windows > DialogBoxParam

Author
Thread Post new topic Reply to topic
upsurt



Joined: 14 Jan 2014
Posts: 51
upsurt 07 Dec 2014, 10:26
EDIT:

Don't call your app 'setup' Mad


Last edited by upsurt on 07 Dec 2014, 18:12; edited 1 time in total
Post 07 Dec 2014, 10:26
View user's profile Send private message Reply with quote
RIxRIpt



Joined: 18 Apr 2013
Posts: 50
RIxRIpt 07 Dec 2014, 11:07
As far as I remember I'd got a similar problem when some of my resource data wasn't aligned by 4. But you are using a separate section. Confused
Another guess, did you try without hInstance argument?
Code:
invoke DialogBoxParam,0,1,HWND_DESKTOP,DialogProc,0
;_In_opt_  HINSTANCE hInstance
    
Post 07 Dec 2014, 11:07
View user's profile Send private message Visit poster's website Reply with quote
upsurt



Joined: 14 Jan 2014
Posts: 51
upsurt 07 Dec 2014, 15:06
EDIT: Obsolete


Last edited by upsurt on 07 Dec 2014, 18:13; edited 2 times in total
Post 07 Dec 2014, 15:06
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1709
Location: Toronto, Canada
AsmGuru62 07 Dec 2014, 15:30
Post 07 Dec 2014, 15:30
View user's profile Send private message Send e-mail Reply with quote
upsurt



Joined: 14 Jan 2014
Posts: 51
upsurt 07 Dec 2014, 18:02
I called my app setup.asm, and a copy setup_test.asm and it didn't work.
Now, after making a copy with a name test.asm and xyz.asm it works. The same code.

Can maybe anybody explain me why??? Was has the name to do with the compilation???

I lost a whole day with this bullsh....
Post 07 Dec 2014, 18:02
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.