09-21-2010, 05:43 AM
DWORD is type unsigned int. In QM use int.
In MSDN, syntax and examples are in C++ language.
There are many types that are the same or very similar as QM intrinsic types: DWORD, HWND, char, short, LPSTR, LPWSTR...
But how to know it? QM status bar does not show any info for these types.
Here is how to show type info in QM status bar:
1. Download and declare reference file WINAPI2: More Windows API declarations for QM
2. Now QM status bar will show typeinfo for these types. In most cases it will be type character (# int, $ lpstr, @ word...).
These type names cannot be used in QM. They are added to WINAPI2 just to show what QM type to use instead.
Examples
Macro Macro1449
Now click DWORD, HWND, etc, and look in status bar. It will show type DWORD = #. Here # is type character for int. Now you know that it is int.
In MSDN, syntax and examples are in C++ language.
There are many types that are the same or very similar as QM intrinsic types: DWORD, HWND, char, short, LPSTR, LPWSTR...
But how to know it? QM status bar does not show any info for these types.
Here is how to show type info in QM status bar:
1. Download and declare reference file WINAPI2: More Windows API declarations for QM
2. Now QM status bar will show typeinfo for these types. In most cases it will be type character (# int, $ lpstr, @ word...).
These type names cannot be used in QM. They are added to WINAPI2 just to show what QM type to use instead.
Examples
Macro Macro1449
WINAPI2.DWORD
WINAPI2.HWND
WINAPI2.HANDLE
WINAPI2.char
WINAPI2.CHAR
WINAPI2.short
WINAPI2.WCHAR
WINAPI2.LPCSTR
WINAPI2.LPTSTR
WINAPI2.LPWSTR
Now click DWORD, HWND, etc, and look in status bar. It will show type DWORD = #. Here # is type character for int. Now you know that it is int.