Page 1 of 1

Help file "Compiling your programs"

Posted: Wed May 10, 2023 1:43 am
by jassing
Towards the bottom
Help File wrote:Note: Since Resources are a specific to the Windows platform only, PB does not include a Library to manage them and they are not further documented here. See documentation on the Windows API and resources for more information
The link for "Windows API" errors - IN THE CHM.
Help File wrote:This page can’t be displayed
Turn on TLS 1.0, TLS 1.1, and TLS 1.2 in Advanced settings and try connecting to https://learn.microsoft.com again. If this error persists, it is possible that this site uses an unsupported protocol or cipher suite such as RC4 (link for the details), which is not considered secure. Please contact your site administrator.

Re: Help file "Compiling your programs"

Posted: Fri Sep 15, 2023 8:14 pm
by Andre
Any suggestion for an actual link to a 'Windows API' description?

For instance I found: https://learn.microsoft.com/de-de/windows/win32/ (german)

Re: Help file "Compiling your programs"

Posted: Fri Sep 15, 2023 8:27 pm
by jacdelad
Maybe https://learn.microsoft.com/en-us/windo ... s-api-list (English)
By changing the "en-us" to "de-de" you get the same site in German. Don't know if there's a french one.

Re: Help file "Compiling your programs"

Posted: Fri Sep 15, 2023 8:34 pm
by Andre
jacdelad wrote: Fri Sep 15, 2023 8:27 pm Maybe

Code: Select all

https://learn.microsoft.com/en-us/windows/win32/apiindex/windows-api-list
(English)
By changing the "en-us" to "de-de" you get the same site in German. Don't know if there's a french one.
Looks good. I will use this, done for this mentioned help site and the 'Useful links' too :-)

Another problem remains: the download link for the 'Microsoft Platform SDK' doesn't work anymore too, see here: https://www.purebasic.com/documentation ... _help.html Suggestions for this one?

Re: Help file "Compiling your programs"

Posted: Fri Sep 15, 2023 9:58 pm
by jacdelad
The platform SDK is discontinued for a while now and has been replaced by the Microsoft SDK: https://developer.microsoft.com/en-us/w ... ndows-sdk/
This is due to the fact that Microsoft basically doesn't want to enhance the "old" API and wants us to use .net and such. The Platform SDK cannot be downloaded from Microsoft directly anymore.
I have it somewhere, would it be helpful if I uploaded it somewhere? I'm not sure, because all the information is available online.

Re: Help file "Compiling your programs"

Posted: Sat Sep 16, 2023 11:36 am
by ChrisR
jacdelad wrote: Fri Sep 15, 2023 8:27 pm Maybe https://learn.microsoft.com/en-us/windo ... s-api-list (English)
By changing the "en-us" to "de-de" you get the same site in German. Don't know if there's a french one.
For thé french one, in the same way, change "en-us" to " fr-fr" and idem for the platform SDK

Re: Help file "Compiling your programs"

Posted: Sat Sep 16, 2023 7:20 pm
by Andre
jacdelad wrote: Fri Sep 15, 2023 9:58 pm The platform SDK is discontinued for a while now and has been replaced by the Microsoft SDK: https://developer.microsoft.com/en-us/w ... ndows-sdk/
This is due to the fact that Microsoft basically doesn't want to enhance the "old" API and wants us to use .net and such. The Platform SDK cannot be downloaded from Microsoft directly anymore.
I have it somewhere, would it be helpful if I uploaded it somewhere? I'm not sure, because all the information is available online.
Thank you for this suggestions!

I think the link should be replaced by the mentioned one (new Microsoft SDK).
But probably it's also possible (don't know about legal reasons?) to offer a download for the older Platform SDK - then it should be downloadable from www.purebasic.com (like the older Win32 API help file).
So before changing something on the docs, a reply by Fred is needed 8)

Re: Help file "Compiling your programs"

Posted: Sat Sep 16, 2023 10:08 pm
by jacdelad
Andre, I'm not sure if it's helpful to offer this at all. The last version of the Platform SDK is very old and doesn't reflect many changes since then (like using SetWindowLongPtr instead of SetWindowLong, but I'm not sure). Also, later additions are not properly added (they were simply not present at the time). I would recommend to always use the online version (yes I know, you need an internet connection). But maybe someone else has different arguments...