flat assembler
Message board for the users of flat assembler.

Index > Windows > Compatibility problems Win2000

Author
Thread Post new topic Reply to topic
Carlito



Joined: 08 Apr 2004
Posts: 11
Location: Paris
Carlito 08 Apr 2004, 09:29
I got a problem running a program I wrote in fasm under winXP, it runs under winXP but doesn't under win2000,
What should I modify to make it run?
Thx

format PE GUI 4.0
entry start

include '%fasminc%\win32a.inc'

these are the include files.
Post 08 Apr 2004, 09:29
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
roticv 08 Apr 2004, 09:39
Preserve thy registers namely, ebx, esi and edi for codes that are callback function.
Post 08 Apr 2004, 09:39
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
Carlito



Joined: 08 Apr 2004
Posts: 11
Location: Paris
Carlito 10 Apr 2004, 07:24
Ok thx gonna try
Post 10 Apr 2004, 07:24
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
coconut



Joined: 02 Apr 2004
Posts: 326
Location: US
coconut 10 Apr 2004, 13:10
code to do that would be something like

Code:
proc YourProc, arg1, arg2
     push ebx esi edi ;preserve on stack
     ....
     ....
     ....

  finish:
     pop edi esi ebx ;restore from stack - reverse order
     return
endp
    
Post 10 Apr 2004, 13:10
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.