Page 1 of 2

Posted: Fri Dec 27, 2002 7:29 pm
by BackupUser
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

Posted: Fri Dec 27, 2002 7:37 pm
by BackupUser
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

Posted: Sat Dec 28, 2002 3:55 pm
by BackupUser
Restored from previous forum. Originally posted by Gary Law.

Thanks

Posted: Mon Jan 06, 2003 12:20 pm
by BackupUser
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

Posted: Mon Jan 06, 2003 2:42 pm
by BackupUser
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=URLDo ... oCacheFile

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

http://msdn.microsoft.com/workshop/netw ... hefile.asp

Posted: Mon Jan 06, 2003 3:29 pm
by BackupUser
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?

Posted: Tue Jan 07, 2003 12:15 am
by BackupUser
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/defau ... _order.asp

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

Posted: Tue Jan 07, 2003 8:30 am
by BackupUser
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

Posted: Tue Jan 07, 2003 11:24 am
by BackupUser
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

Posted: Tue Jan 07, 2003 12:53 pm
by BackupUser
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.

Posted: Tue Jan 07, 2003 8:16 pm
by BackupUser
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.

Posted: Wed Jan 08, 2003 7:06 am
by BackupUser
Restored from previous forum. Originally posted by Danilo.

The only original and up-to-date documentation
directly from Microsoft: http://www.microsoft.com/msdownload/pla ... 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)

Re: Win32.Hlp missing ??

Posted: Wed Jul 10, 2019 2:11 pm
by davebar
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

Re: Win32.Hlp missing ??

Posted: Wed Jul 10, 2019 7:08 pm
by Zebuddi123
Hi davebar try https://sourceforge.net/projects/win32-help-chm/
last updated 2 years ago

Zebuddi :)

Re: Win32.Hlp missing ??

Posted: Thu Jul 11, 2019 4:02 am
by Rinzwind
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.