It is currently Fri Aug 23, 2019 11:09 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject:
PostPosted: Fri Dec 27, 2002 7:29 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Dec 27, 2002 7:37 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Dec 28, 2002 3:55 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
Restored from previous forum. Originally posted by Gary Law.

Thanks


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 06, 2003 12:20 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 06, 2003 2:42 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Jan 06, 2003 3:29 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 07, 2003 12:15 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 07, 2003 8:30 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 07, 2003 11:24 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 07, 2003 12:53 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Jan 07, 2003 8:16 pm 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jan 08, 2003 7:06 am 
Offline
PureBasic Guru
PureBasic Guru

Joined: Tue Apr 22, 2003 7:42 pm
Posts: 16777133
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)


Top
 Profile  
Reply with quote  
 Post subject: Re: Win32.Hlp missing ??
PostPosted: Wed Jul 10, 2019 2:11 pm 
Offline
User
User

Joined: Fri Aug 31, 2018 9:23 am
Posts: 36
Location: Australia
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Win32.Hlp missing ??
PostPosted: Wed Jul 10, 2019 7:08 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 739
Location: Nottinghamshire UK
Hi davebar try https://sourceforge.net/projects/win32-help-chm/
last updated 2 years ago

Zebuddi :)

_________________
malleo, caput, bang. Ego, comprehendunt in tempore


Top
 Profile  
Reply with quote  
 Post subject: Re: Win32.Hlp missing ??
PostPosted: Thu Jul 11, 2019 4:02 am 
Offline
Enthusiast
Enthusiast

Joined: Wed Mar 11, 2009 4:06 pm
Posts: 100
Location: NL
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye