flat assembler
Message board for the users of flat assembler.

Index > Windows > CW_USEDEFAULT is wrong, but works fine!..

Author
Thread Post new topic Reply to topic
AsmGuru62



Joined: 28 Jan 2004
Posts: 1409
Location: Toronto, Canada
AsmGuru62
Hi, everyone.

My first post after a while. I was just coding a template Win32 code for my new IDE and noticed that CW_USEDEFAULT is 8000h in FASM includes, however it must be 80000000h (I checked on VS2005 includes). Yet, CW_USEDEFAULT appears to be working in its 16-bit incarnation! That is so cool! However, it would be nice if Tomasz would fix this.

Thanks!
Post 01 Jul 2010, 11:58
View user's profile Send private message Send e-mail Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17278
Location: In your JS exploiting you and your system
revolution
The Borland C reference says this:
Code:
#define CW_USEDEFAULT       ((int)0x80000000)    
Post 01 Jul 2010, 12:06
View user's profile Send private message Visit poster's website Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4633
Location: Argentina
LocoDelAssembly
Code:
#define CW_USEDEFAULT       ((int)0x80000000)    
Microsoft SDKs\Windows\v7.0A\Include\WinUser.h; Windows Mobile 5.0 SDK R2\PocketPC\Include\Armv4i\WinUser.h; Windows Mobile 5.0 SDK R2\Smartphone\Include\Armv4i
Post 01 Jul 2010, 15:31
View user's profile Send private message Reply with quote
ouadji



Joined: 24 Dec 2008
Posts: 1081
Location: Belgium
ouadji
WDK 6001.18002\inc\api\WinUser.h
#define CW_USEDEFAULT ((int)0x80000000)

_________________
I am not young enough to know everything (Oscar Wilde)- Image
Post 01 Jul 2010, 18:35
View user's profile Send private message Send e-mail 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.

Powered by rwasa.