Welcome! Log In Create A New Profile

Advanced

API programming convenience. allow: define HWND as int.

Posted by BLS 
This is a simple and easy to implement feature request.

In case that you have to do some windows API programming you often have to deal with things like ...
HWND, DWORD, LPxxx, Hxxx etc.

I would like to suggest to enhance W-Language to enable us to write for instance :

define HWND as int.
define DWORD as unsigned int
define lParam as int

Indeed, "winconst.wl" could be enhanced with a set of pre-defined defines"

Translating these Windows typedef's is often a source of bugs. So having this feature could make our software more reliable.

Please note ! I'm not asking for preprocessor like features.
Bjoern Lietz-Spendig






Edited 4 time(s). Last edit at 10/03/2008 06:53PM by BLS.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: