flat assembler
Message board for the users of flat assembler.

Index > Windows > download a gif from internet and show it in window

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 30 Dec 2004, 16:22
VeSCeRa wrote:
yes the problem is in my dialogproc

Code:
proc DialogProc, hwnddlg, msg, wparam, lparam
begin
        push    ebx esi edi
        mov     eax, [msg]
        cmp     eax,WM_COMMAND
        je      wmcommand
        cmp     eax,WM_DESTROY
        je      wmdestroy
        xor     eax,eax
        jmp     finish
    

it says ERROR! the argument 'hwnddlg' MUST begins with dot then when i add dots to the arguments it says if .__info.frame undefined symbol at begin Smile


Because you can't use global labels inside procedure - I mean your "finish", "wmdestroy", etc. use ".finish", ".wmdestroy" instead.
Arguments and local variables must begin with dot also.

Regards.
Post 30 Dec 2004, 16:22
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< 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.