PureBasic Forum
https://www.purebasic.fr/english/

Win32.Hlp missing ??
https://www.purebasic.fr/english/viewtopic.php?f=13&t=2765
Page 1 of 2

Author:  BackupUser [ Fri Dec 27, 2002 7:29 pm ]
Post subject: 

Restored from previous forum. Originally posted by Gary Law.

Hi,
I was trying out some code snippets I got from the resources site
When I hit F1 to request help on the following I get an error - Do I have a missing file ??

Snippet :- ShowWindow_(FindWindow_("ProgMan",0),0)

Error :-
"Cannot find the "C:\Program Files\PureBasic\Help\Win32.hlp" ......

So do I have a missing file ?? (Searched for it on disk - does not exist)

Using Pure 3.40

Thanks

Is there another way to find all the API calls ?

Gary

Author:  BackupUser [ Fri Dec 27, 2002 7:37 pm ]
Post subject: 

Restored from previous forum. Originally posted by PB.

Win32.hlp is a third-party file that goes in PureBasic's "Help" folder.
It covers all commands that end in an underscore character ("_") that
are not native PureBasic commands but can be called by PureBasic.
It can't be used with the demo version of PureBasic, and it is not
distributed with PureBasic for two reasons:

(1) It's not a PureBasic product.
(2) It's a 5 MB download. :)

You can get it here: http://www.master-creating.de/purebasic ... /win32.zip

Author:  BackupUser [ Sat Dec 28, 2002 3:55 pm ]
Post subject: 

Restored from previous forum. Originally posted by Gary Law.

Thanks

Author:  BackupUser [ Mon Jan 06, 2003 12:20 pm ]
Post subject: 

Restored from previous forum. Originally posted by geoff.

I downloaded the Win32.hlp file from Borland and tried to find the function:

URLDownloadCacheToFile(), but without success :cry:

Can anyone tell me what other API downloads I need?

Geoff

Author:  BackupUser [ Mon Jan 06, 2003 2:42 pm ]
Post subject: 

Restored from previous forum. Originally posted by PB.

> Can anyone tell me what other API downloads I need?

The Delphi Win32.hlp file is very dated, but it still contains most
API commands. For the ones that it doesn't, just do a Google web
search for it, and usually Microsoft's official documentation will
result. For example:

http://www.google.com.au/search?q=URLDownloadToCacheFile

This leads to Microsoft's page on this API function:

http://msdn.microsoft.com/workshop/networking/moniker/reference/functions/urldownloadtocachefile.asp

Author:  BackupUser [ Mon Jan 06, 2003 3:29 pm ]
Post subject: 

Restored from previous forum. Originally posted by geoff.

Thanks PB.

I had tried a Google search but it failed because my function name was URLDownloadCacheToFile() instead of URLDownloadToCacheFile(). The name I used came from another posting on the forum.

But this raises a further question. How do I find the names of the API functions in the first place?

I see that the function name exists in the file:
purebasic\PureLibraries\Windows\Libraries\urlmon.lib
But this file isn't a readable text file.

So, is there an up to date list of API names I can download?

Author:  BackupUser [ Tue Jan 07, 2003 12:15 am ]
Post subject: 

Restored from previous forum. Originally posted by PB.

> is there an up to date list of API names I can download?

I don't know of any up-to-date downloadable list, but you can always
use Microsoft's official online list, which is always up-to-date:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winprog/winprog/functions_in_alphabetical_order.asp

That page also has a search box at top-left where you can type in the
API command to search for.

Author:  BackupUser [ Tue Jan 07, 2003 8:30 am ]
Post subject: 

Restored from previous forum. Originally posted by fred.

Yes, there is one: search for Windows SDK on MS WebSite. It's over 150 Mb download but worth it.

Fred - AlphaSND

Author:  BackupUser [ Tue Jan 07, 2003 11:24 am ]
Post subject: 

Restored from previous forum. Originally posted by geoff.

Thanks fred.

I feared that might be the advice.
That would take me about 10 hours on my 56k modem.

The MS page suggested by PB gives API listings by category with a
simple one line explanation, just what I wanted, thanks PB :)

Actually, I still had trouble finding the function I was
looking for (see above) because that's not in the Windows API
section but in a separate Web Development section.
I didn't expect getting info from MS would be easy :cry:

An offline function names listing, maybe in the PureBasic help would
be nice, then you could go to the MS site for the detail.
I guess it would need updating every so often though.

Geoff

Author:  BackupUser [ Tue Jan 07, 2003 12:53 pm ]
Post subject: 

Restored from previous forum. Originally posted by PB.

> I still had trouble finding the function I was looking for (see
> above) because that's not in the Windows API section

I know, which is why I added a comment about the search box at that
page, so you can just search for any "missing" API commands. :)

> An offline function names listing, maybe in the PureBasic help,
> would be nice

Fred doesn't want any API references in the docs due to PureBasic being
a portable language. I've asked him before to do it.

Author:  BackupUser [ Tue Jan 07, 2003 8:16 pm ]
Post subject: 

Restored from previous forum. Originally posted by Froggerprogger.

Check out the Api-Guide.
You'll find many Functions there that are not documented in the WIN32.HLP & nice examples and many parameters...
http://www.allapi.net/agnet/appdown.htm

Further the API-Viewer is nice, there's a link to it on the same page. There are all constants' values listetd.

OK, but in the API-Guide there's only the function URLDownloadToFile() mentioned.

Author:  BackupUser [ Wed Jan 08, 2003 7:06 am ]
Post subject: 

Restored from previous forum. Originally posted by Danilo.

The only original and up-to-date documentation
directly from Microsoft: http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ (full download, 300MB+)

Includes over 200MB of documentation, many tools
and 50MB header files with all constants, GUID's
and everything.
Its free, and every serious WinAPI coder must have it.

cya,
...Danilo
(registered PureBasic user)

Author:  davebar [ Wed Jul 10, 2019 2:11 pm ]
Post subject:  Re: Win32.Hlp missing ??

This thread is pointed to by the "F.A.Q for PureBasic" viewtopic.php?f=13&t=4876 as providing an answer to the question:
Why do some commands end in an underscore? and Is there a simple reference to these commands?
Unfortunately the thread is full of obsolete information, other than to go scratching around in hundreds of MSDN documents.
Does anyone know of an up to date reference for commands ending in an underscore?
TIA
Dave

Author:  Zebuddi123 [ Wed Jul 10, 2019 7:08 pm ]
Post subject:  Re: Win32.Hlp missing ??

Hi davebar try https://sourceforge.net/projects/win32-help-chm/
last updated 2 years ago

Zebuddi :)

Author:  Rinzwind [ Thu Jul 11, 2019 4:02 am ]
Post subject:  Re: Win32.Hlp missing ??

2 years ago with the same super old hlp content ;)

For a up-to-date offline MSDN win32 version:
viewtopic.php?f=12&t=73129

Ofcourse a bummer that PB still doesn't understand extra chm files out-of-the-box (f1), so need a little addin also described in that topic.

Page 1 of 2 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/