What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Resource] Win32 API Constant Reference

[Resource] Win32 API Constant Reference
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: RE: [Resource] Win32 API Constant Reference
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.


.zip File Attachment: Win32api.zip (609.05 KB)
This file has been downloaded 811 time(s).

This post was edited on 07-02-2006 at 09:34 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-02-2006 09:22 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Resource] Win32 API Constant Reference - by segosa on 07-01-2006 at 07:55 PM
RE: [Resource] Win32 API Constant Reference - by ShawnZ on 07-01-2006 at 08:03 PM
RE: RE: [Resource] Win32 API Constant Reference - by segosa on 07-01-2006 at 08:06 PM
RE: [Resource] Win32 API Constant Reference - by ShawnZ on 07-01-2006 at 08:12 PM
RE: [Resource] Win32 API Constant Reference - by alexp2_ad on 07-01-2006 at 08:16 PM
RE: RE: [Resource] Win32 API Constant Reference - by segosa on 07-01-2006 at 08:19 PM
RE: [Resource] Win32 API Constant Reference - by ShawnZ on 07-01-2006 at 09:05 PM
RE: [Resource] Win32 API Constant Reference - by CookieRevised on 07-02-2006 at 02:59 AM
RE: RE: [Resource] Win32 API Constant Reference - by segosa on 07-02-2006 at 07:37 AM
RE: [Resource] Win32 API Constant Reference - by ShawnZ on 07-02-2006 at 05:18 AM
RE: RE: RE: [Resource] Win32 API Constant Reference - by CookieRevised on 07-02-2006 at 09:22 AM
RE: RE: RE: RE: [Resource] Win32 API Constant Reference - by segosa on 07-02-2006 at 09:34 AM
RE: [Resource] Win32 API Constant Reference - by CookieRevised on 07-02-2006 at 09:38 AM
RE: [Resource] Win32 API Constant Reference - by segosa on 07-02-2006 at 09:59 AM
RE: [Resource] Win32 API Constant Reference - by CookieRevised on 07-02-2006 at 11:02 AM
RE: RE: [Resource] Win32 API Constant Reference - by segosa on 07-02-2006 at 11:18 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On