quote:
Originally posted by segosa
Have you got any examples of wrong constant values? Why is WIN32API inaccurate? I'm sure Microsoft don't change the values of constants whenever they're bored...
WIN32API.TXT is based upon Win95 only, which has +-5000 constants (and 1500 functions). WinXP has more than a thenfold of that...
As for the inaccuracy, eg:
quote:
If you spend just a few seconds browsing WIN32API (or it's database twin), you'll see the hundreds of functions that are yours for the calling. So why wouldn't you use it? Well ... because it may be impressive, but it's often just not correct. Here's what Bruce McKinney says about it, "Unfortunately, WIN32API.TXT has a well-earned reputation for being full of errors." Dan Appleman agrees, "Frankly, Win32API.TXT is not perfectly good. In fact, it's not even close."
(..)
and that's just one of the quotes you'll find when browsing for win32api.txt in google**. Even MS itself has suggested not to use it (go figure why they still included it in VB6)!
A good source would be simply anything except the original win32api.txt file. eg: the one on AllAPI.net, ActiveVB's APIViewer,
APIviewer 2004/API-Guide, etc etc...
search google "win32api" and you'll find tons**...
** both reasons why I didn't pointed to sources in the first post as I assumed you would search for it. And the results will all point to those 2 things.
quote:
Originally posted by segosa
quote:
Originally posted by CookieRevised
Setting aside that WIN32API.TXT isn't a reliable source for this, both files (the one from Segosa and the one from Shawnz) contain leftover texts too (because of the way they were automatically created without checking the output?).
Please point out an example...
EDIT: shawnz, I think the reason yours doesn't work is because of stuff like this:code:
Windows.prototype.SECTION_ALL_ACCESS = STANDARD_RIGHTS_REQUIRED | SECTION_QUERY | SECTION_MAP_WRITE | SECTION_MAP_READ | SECTION_MAP_EXECUTE | SECTION_EXTEND_SIZE;
STANDARD_RIGHTS_REQUIRED and so on should be Windows.STANDARD_RIGHTS_REQUIRED for example, I think..
indeed, but not only that, both files also contains leftover text. Simply scroll your created files quickly and you'll notice it in an instant.