
access winapi constants using c#
Quote:
>hi i'd like to know how to acces constants from the windows api using c#.
>for example the WM_* messsage numbers and so on. i know they are located in
>header files but how can c# acess a header file?
C# doesn't support header files, so you have to manually extract the
message definitions, and translate them to C# consts or enums.
Mattias
===
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.