The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: rea on December 28, 2004, 08:42:26 PM

Title: About WinAPI
Post by: rea on December 28, 2004, 08:42:26 PM
http://mingw.org/docs.shtml#win32api

The one about lcc is about 19 Mb...

By the way, if you download dev-cpp and you update for download you will get one help file about 24Mb...



It can be tacked from this place http://public.planetmirror.com/pub/devcpp/

is the Win32API.DevPak 

You will need a tool for extract it (dont know if check if is dev-cpp installed) called Package manager, altought, I see in the about there is no direct download but say some things about: http://www.destructor.de/ is the tar extraction code: stefan heymann, let see if I can extract it with a tar?? compressor???

mmm, yes, I can use a tar tool, by the way, when I extract it, I get a file called [content] without a extension, then you can find the Win32 file in the path from there [content]\Test\Win32API\Docs\Win32API\

And you can extract it, you get a Win32 api file about 24 Mb :) (dont know if is more updated than the others and if we should talk for permission for copy it?), also I will post this to win32asm community ;).
Title: Re: About WinAPI
Post by: pbrennick on December 28, 2004, 08:59:12 PM
Hi All,
You can get the 24mb win32 help file from http://www.pbrennick.com/AssemblyStuff/win32_hlp.zip

Paul
Title: Re: About WinAPI
Post by: Statix Star on December 28, 2004, 09:16:16 PM
Should this be sticky? Also, Hutch if you have time to update your site with this stuff. I don't about the Host of Randall which had change the name from the original, which; a library for win32 it's included. Could you Randall make it separate for download and include
the original name?
Title: Re: About WinAPI
Post by: donkey on December 28, 2004, 09:22:58 PM
Quote from: Statix Star on December 28, 2004, 09:16:16 PM
Should this be sticky? Also, Hutch if you have time to update your site with this stuff. I don't about the Host of Randall which had change the name from the original, which; a library for win32 it's included. Could you Randall make it separate for download and include
the original name?

I have added the relative link to the existing sticky for the Win32 API.
Title: Re: About WinAPI
Post by: rea on December 28, 2004, 09:28:23 PM
I have puted this topic because in the topic about the WinAPI donkey say that he dont know where to get the 19Mb file, but because I cant reply to his post, then I put this one, also I where checking the size of the dev-cpp file and I see that was about 24 Mb (havent taked care of that ;)).






Also I have a extra question (related to help files .hlp), I remember one time a go, I where defining marks or bookmarks for signal the start of a section, I have passed a lot of time defining the marks...

mmm, short description, how I can save bookmarks or mark of a certain .hlp file? (if you whant to read all the superflous description continue reading ;))

For example I define marks for the start of a section and the reference to that section, for example I mark the start of Windows and then Windows Reference  and in that way for each section... in that way I can directly start reading a section and get directly to the functions, structures.

But for my surprise the marks are not saved in the .hlp file, I havent watched that, then I save the suposed Win32.hlp with the bookmarks that I have defined, in a deletion of the file that I where using I see that when I restore it, I where not able to get my bookmarks back... and I say: aaaahhhh!!!! all  my work is losed. By the way, I have never for other time tried to setup book marks, because I delete and remove things time to time and I know that my work will be lost, I will not do a thing for second time where there is no the necesity... The question is sayed some pharagraphs above, but there is a way  can save the bookmarks for Win32.hlp?
Title: Re: About WinAPI
Post by: rea on December 28, 2004, 09:36:14 PM
In that way, for example some one, can define the book marks (I will not doit again ;) or pheraphs...) for the start of section and for the reference of such sections, I remember more than 20 sections dont remember...

In that way if is posible save them for example to a html file and the html file in the same folder o the win32 api, also the html can be disributed with a link to where to download the hlp file to this bookmarks in the top of the file :)....


For example, the way that I use the hlp file is search a function, read and use the function, but if I whant with the bookmarks I can get to the start of the section and read all of it, because I guess we only we use it fore reference and normally dont read the sections???

At less for me is of some help have bookmarks for each section (start and the reference at the end).
Title: Re: About WinAPI
Post by: donkey on December 28, 2004, 09:39:32 PM
I believe that bookmarks are saved in the accompanying GID file, if there is none it is created the first time you open the file when you are prompted to build the database.

http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b129326
Title: Re: About WinAPI
Post by: Statix Star on December 28, 2004, 09:44:53 PM
I remember that Japeth, Raymond, rea, Jurgen, Jibz, were moderators too.   
Title: Re: About WinAPI
Post by: rea on December 28, 2004, 09:57:51 PM
no no I am formely hgb, but I have changed my name, also because here we need to re-register I have changed my nick name without ask to admins.

Donkey, if I only I add bookmarks, I dont know where they are saved :S. I have watched a .gid file there, but I have deleted with shift ;), now I dont see that there is created a .gid file, but the bookmark are still there... By the way, I can observe extrange results.. for example, in a new install save some bookmarks, then use ctrl+D for the index select a topic and return to the menu bookmarks, they are gone, now save the location. Now close and reopen the hlp file you get the original ones, but if you redo the anterior steps you will get the others bookmarks. Interesting not??? :)



[edit] I see... that behaviour, is because I have 2 Win32 help files.. aparently there is a confusion there (when I use the index, it open the other file??)... it jump from one file to the other file... (and the caption text is changed....), altought that is still interesting (hehe, my computer is making me a joke.. day of inocents???)...

Also I supose that the bookmarks are saved some where in the registry?? pheraphs??
Title: Re: About WinAPI
Post by: dev_zero on December 28, 2004, 10:28:47 PM
You can download the Windows API help file with the winsock API included at Iczelion's site.. http://spiff.tripnet.se/~iczelion/files/win32api.zip
Title: Re: About WinAPI
Post by: rea on December 28, 2004, 10:53:09 PM
Altough havent finded hwre the book marks are saved, I guess something like the WIN32.CNT included in the last one is one like I whant.


By the way,there is another page that have a list of help files of your knowledge?
Title: Re: About WinAPI
Post by: rea on December 28, 2004, 11:02:53 PM
mm, checking the sizes of the win32api.hlp they are exactly of the same size, the extra is:
WIN32.CNT 104Kb
win32.FTS 3,891Kb
win32.GID 465Kb
WIN32.KWF

For obtain the index equally than this you can delete the win32.FTS for get the contents is necesary that you have win32.cnt and win32.gid


Thx...
Title: Re: About WinAPI
Post by: hutch-- on December 28, 2004, 11:09:09 PM
I already have the link at http://masmforum.com/website/reference.htm .

The link to the forum website is at the top right of the forum front page.
Title: Re: About WinAPI
Post by: Statix Star on December 28, 2004, 11:38:47 PM
That's the one with 8Mb, I meant the one with 24mb which pbrennick put it on. The PlatformSDK it's a different package.
Title: Re: About WinAPI
Post by: Statix Star on December 29, 2004, 12:04:52 AM
My browser can't see the News Box. I'm using IE 5, usually it's a bug.
Title: Re: About WinAPI
Post by: hutch-- on December 29, 2004, 12:59:55 AM
Char,

Do yourself a favour and get rid of IE 5.? It has bad security problems that dump junk on your machine without you knowing it. Get yourself the currect version of Firefox or Netscape and you solve the problem. ALSO use ANYTHING except Outlook Express for your email.
Title: Re: About WinAPI
Post by: pbrennick on December 29, 2004, 01:12:58 AM
I have, also, come to like FireFox.  It is a nice browser.  Outlook Express, hmmm, after all this time, I really wonder why M$ has not done anything about the terrible problems with security by unfortunate, innocent users of this email package.  Personally, I feel it is criminal behavior.  I really regret ever being involved with M$.
Paul
Title: Re: About WinAPI
Post by: rea on December 29, 2004, 01:25:59 AM
Lets organize a little???

The file posted at icz site is the same that come with devpack of 24Mb, the only diference is tah is included the files listed above specially the CNT that I guess is related to content???, the size of such download is 8Mb, while in the one of pbrennick is about 5?, ok, should suficient to put the cnt file+gid file for get the contents (and dont do the manual work of the marks that I do in the past)




Then the question is: how many diferent files are out there???

from: http://mingw.org/docs.shtml#win32api

1.- win32hlp.exe that install one win32api.hlp of about 19Mb (from lcc project)
2.- Havent downloaded the diferent parts for check the final size...
3.- ftp://ftp.borland.com/pub/delphi/techpubs/delphi2/win32.zip the same that hutch-- ftp://ftpc.borland.com/pub/delphi/techpubs/delphi2/win32.zip the final win32api.hlp is about 11Mb

and finally:
4.- The one that you can obtain from the dev-pack or with pbrennick is about 4-5Mb (because the diferent compression zip agains the other one), but also there is the link of http://spiff.tripnet.se/~iczelion/files/win32api.zip is about a download of 8Mb, but the final win32api.hlp is about 24Mb

The diference is that there exist those extra 3 files, one of them about 3Mb (and that in my point of view can be deleted) and you still have the contents in a nice presentation (at less more than travel the whole reference file and make bokmarks tat you dont know where they are saved)

Then in extra to the file in the dev-pack or pbrennick you can/I can attach those extra 2 files necesary for get the nice presentation of the contesnts :)... who will do it?
Title: Re: About WinAPI
Post by: pbrennick on December 29, 2004, 02:38:34 AM
Perhaps I am confused, what two other files do you need?  The .gid file is recreated every time the help file is run. The .FTS file is already compressed and is why some versions of the zip are ~8mb.  I did not consider that the increased bandwith caused by these to files are worth the trouble.  Perhaps I am wrong?  If you are asking me to post those two files I am willing to do that as a separate download.  Is that what you are asking?
Paul
Title: Re: About WinAPI
Post by: rea on December 29, 2004, 02:47:27 AM
Not sure, like I say before I have deleted (for test) the creation of the gid file, altought I have always show all files for folders, I havent watched any new file :)...

Altough if is created this gid file each time, then, I only will say that you should also include the  .cnt file, because in that way, when you open the hlp file, you get a nice display of contents :).
Title: Re: About WinAPI
Post by: pbrennick on December 29, 2004, 02:58:32 AM
The .cnt file is already included along with the .kwf and .hlp files.  A copy of the .kwf file can be reformed with a text parser to build a listing of API functions.  I think I will do that and put it in a list box for quick perusal.
Paul
Title: Re: About WinAPI
Post by: rea on December 29, 2004, 03:33:22 AM
Nice.

I guess you know best what this files are used for?

.cnt some like content?

for what is the .kwf?? keyword file?? :S
Title: Re: About WinAPI
Post by: pbrennick on December 29, 2004, 04:02:25 AM
Take a look at it and you tell me.
Title: Re: About WinAPI
Post by: rea on December 29, 2004, 04:47:58 AM
mmmmmmm...

It look like a bunch of names :), pheraphs for index, dont know in what part of the help programm is reflected the use of this file..., altough I can see that the .cnt file have a more watcheable impact...

I am checking the most fast that I can, with ALT+C and arrow keys + enter the "links" this is a list of the not running or working ones (one  of two things, there is a error or I have much api files :))

Windows->Windows Styles (altough the page exist...)
Windows-> Dialgo Box Styles (dont know)
Windows->size (exist)
Windows->position (exist)
Clipboard-> processing the WM_RENDERFORMAT and WM_RENDERALLFORMATS Messages (exist)
Common Dialog Box Library-> Common dialog Box Library plataform diferences (dont know)
Common dialog Box Library-> Common Dialog Box Basics (dont know)
Common Dialog Box Library-> Initialization Flags (dont know)
Common Dialog Box Library-> Hook Functions and Custom Dialog Box Templates
Common Dialog Box Library-> Registered Messages and Message Strings
Common Dialog Box Library-> Hook Function
Common Dialog Box Library-> Customizing Dialog Boxes


"Walking" trought this "chapter" I have readed "Initializing the Page Setup Dialog Box" and "Customizing the Find or Replace Dialog Box" and "Initializing the Page Setup Dialog Box" "Customizing Old-Style Dialog Boxes " and "Hook Procedures for Common Dialog Boxes" I have no finded a near description to: "common dialog Box basics" and "Common Dialog Box Library Plataform diferences"


There are more than 80 "chapters" I will not test manually each "link" I can but I hope there exist a better solution like the .cnt files is the replace for my manual mark of bookmarks ;).

If you whant to continue  the checking, I have only terminated the section of "Common Dialog Box Library".

By the way, the cnt file contain all the sections??
Title: Re: About WinAPI
Post by: pbrennick on December 29, 2004, 05:12:35 PM
rea,
Common dialog Box Library plataform diferences

This string does not exist in my keyword file...

Paul
Title: Re: About WinAPI
Post by: rea on December 29, 2004, 07:02:02 PM
But exist in the .cnt file...

2 Common Dialog Box Library Platform Differences=_win32_Common_Dialog_Box_Library_Platform_Differences


also in In the GID file: _win32_Common_Dialog_Box_Library and _win32_Common_Dialog_Box_Library_Platform_Differences
altough when I go for the link in the contents say me some like this: The topic dosent exist, put in contact with the distributor of the application for get a update help file. (129)


In your .kwf you have two or three like that (altought I still dosent see/get where the use of a kwf is reflected in the help system...)


Like I say, dont know exactly if the error is because I have more than one help file there.. or you have the same problem???
Title: Re: About WinAPI
Post by: hutch-- on December 29, 2004, 10:57:36 PM
Urrrrgh !

This appears to have turned into a conversation on Winhelp format, not writing code in assembler.

Maybe we could have some links to whatever versions are around so that members can decide for themselves what they want to use. I have the Borland link on the forum web site and when I set up the link and tested the files that were available, I preferred the Borland ones to tye Ming editions.

I think it needs to be understood that the WIN32.HLP file is at best about 6 years old and while it is useful for classic win 32, the MSDN or PLATFORMSDK data is far more up to date.

Now I am closing this thread because it is going nowhere in a hurry.