|
||
|
|
#2 (permalink) |
|
Newbie
Join Date: Jun 2006
Posts: 95
|
I could be wrong (Zippy?) in my experience they have been interchangable. Maybe its only for referencing (compatibility) purposes.
For COM and dlls I use DWORD if its a non C# library.
__________________
Record for the sentence that makes the least sense - Go HERE |
|
|
|
|
|
#3 (permalink) |
|
Forum Expert
|
There isn't a reason that they have to be used or anything of the sort. They're used for essentially two reasons:
But, I basically just lied, they're mostly used because people see them in Microsoft's example code, in the tutorials for the WIN32 API, in the headers and in Intellisense™, so people use them just in case or to be consistent (or, once in a blue moon, for the bullets above). And, they are interchangeable in general, but it's still a better idea to use the API's types when working with it (if just for consistency, assurance of correct types or superstition). Last edited by Sep102; 08-06-2007 at 08:25 PM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|