flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > COPYDATASTRUCT error in fasm's USER64.INC

Author
Thread Post new topic Reply to topic
IgorHW



Joined: 21 May 2008
Posts: 1
IgorHW
struct from user64.inc
Quote:
struct COPYDATASTRUCT
dwData dd ?
cbData dd ?
lpData dq ?
ends

should be:
Quote:
struct COPYDATASTRUCT
dwData dq ?
cbData dd ?
lpData dq ?
ends


http://msdn.microsoft.com/en-us/library/ms649010(VS.85).aspx

_________________
I've been a bad little signature...
Post 21 May 2008, 16:45
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17671
Location: In your JS exploiting you and your system
revolution
This is correct. ULONG_PTR is 32 bits when compiled with a 32-bit compiler and 64 bits when compiled with a 64-bit compiler.

Perhaps it should be moved to "complier internals" and added to the 'things to be fixed' list.
Post 21 May 2008, 16:55
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:  


< 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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.