flat assembler
Message board for the users of flat assembler.

Index > Windows > how do i do that?

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



Joined: 19 Jan 2008
Posts: 160
asmrox 20 Jan 2008, 01:26
cuz Nt* functions return only Ntstatus, (its diffrent kind of programming, more real Smile). And address i have in mem_addr wich can be used to free it.
%d also take value from stack, not address.
Post 20 Jan 2008, 01:26
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 20 Jan 2008, 01:29
Additionally the program was already tested and proved to work Wink (Check my post where I show it prints "0" and "DEADBEEF", both values expected).
Post 20 Jan 2008, 01:29
View user's profile Send private message Reply with quote
AlexP



Joined: 14 Nov 2007
Posts: 561
Location: Out the window. Yes, that one.
AlexP 20 Jan 2008, 01:32
1) yes, loco, I was talking about the one before the fixed version
2) I thought printf takes the values from an address? I'll check my code, haven't used C functions in a while
3) If u feel proud of yourself for using the lower NT functions, so be it. You can sacrafice portability for feeling good if you want to.
Post 20 Jan 2008, 01:32
View user's profile Send private message Visit poster's website 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.