Help on WIN32API functions does not function anymore!
- SimpleMind
- Enthusiast

- Posts: 112
- Joined: Sun May 18, 2003 12:40 pm
- Location: Netherlands
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
If you re-read my post, I don't claim that it works.
But if you want to read up on things. Here's the original link:
http://www.purebasic.fr/english/viewtop ... rmsdk+help
I'm going to work on it for a bit right now. I'll see what I come up with.
- np
But if you want to read up on things. Here's the original link:
http://www.purebasic.fr/english/viewtop ... rmsdk+help
I'm going to work on it for a bit right now. I'll see what I come up with.
- np
- SimpleMind
- Enthusiast

- Posts: 112
- Joined: Sun May 18, 2003 12:40 pm
- Location: Netherlands
- Fluid Byte
- Addict

- Posts: 2336
- Joined: Fri Jul 21, 2006 4:41 am
- Location: Berlin, Germany
I found a quite simple, yet effective solution for everyone who got the MS Platform SDK for Windows Server 2003 SP1 installed but don't get it working with PB. Basicaly you just need an alternative help browser as the default 'dexplore.exe'. Follow these steps:
1.) Download "H2 Viewer": http://helpware.net/mshelp2/h2viewer.htm
2.) Open PB and goto "Tools/Configure Tools..."
3.) Add a new tool with the following details:
- Commandline: Drive Root + Programm Root + \H2Viewer.exe
- Arguments: MS.PSDKSVR2003SP1.1033 /index %WORD
- Name: H2 Viewer (PSDKSVR2003)
- Shortcut: F1 *
Confirm twice if ya' done that :roll:
4.) Create a new source file and enter "CreateWindowEx_()"
5.) Place cursor over it and press F1. BOOM!
* In order to use the F1 shortcut you must remove it first from PB's default menu:
1.) Goto "File/Preferences..."
2.) Click on "General/Shortcuts"
3.) Scroll down to "Help -> Help..." and select it
4.) Select *BLANK* item from combobox and press "Set"
5.) Confirm of course...
In fact you could make the default 'dexplore.exe' work again with this method, problem is that it is limited in it commandline options. Anyway, I hope this helps for a while.
1.) Download "H2 Viewer": http://helpware.net/mshelp2/h2viewer.htm
2.) Open PB and goto "Tools/Configure Tools..."
3.) Add a new tool with the following details:
- Commandline: Drive Root + Programm Root + \H2Viewer.exe
- Arguments: MS.PSDKSVR2003SP1.1033 /index %WORD
- Name: H2 Viewer (PSDKSVR2003)
- Shortcut: F1 *
Confirm twice if ya' done that :roll:
4.) Create a new source file and enter "CreateWindowEx_()"
5.) Place cursor over it and press F1. BOOM!
* In order to use the F1 shortcut you must remove it first from PB's default menu:
1.) Goto "File/Preferences..."
2.) Click on "General/Shortcuts"
3.) Scroll down to "Help -> Help..." and select it
4.) Select *BLANK* item from combobox and press "Set"
5.) Confirm of course...
In fact you could make the default 'dexplore.exe' work again with this method, problem is that it is limited in it commandline options. Anyway, I hope this helps for a while.
Windows 10 Pro, 64-Bit / Whose Hoff is it anyway?
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
-
dracflamloc
- Addict

- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
getsockname()? who names their socks? sounds like a mental problem!SimpleMind wrote:The only help I can get working is Kale's version. It's better than nothing but e.g. getsockname_() is only present in the 2003 SDK and not in the older version.
Ok, I do not know why it worked under my old system and/or older version of PB.
Maybe Fred knows a solution, always Fred,where would we be without this man?
jk.... but really...
> To PB: that was also for me also the case in the past. But now I cannot get
> the same situation. Even when I push F1 the first time after a new start of
> PureBasic the PB help will not pop up.
Weird. Works for me. I even double-checked and yes, I'm using the same
version (Windows Server 2003 SP1 SDK). I don't have a "Help" folder for
PureBasic v4.00, if that makes any difference?
> the same situation. Even when I push F1 the first time after a new start of
> PureBasic the PB help will not pop up.
Weird. Works for me. I even double-checked and yes, I'm using the same
version (Windows Server 2003 SP1 SDK). I don't have a "Help" folder for
PureBasic v4.00, if that makes any difference?
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
awesome..Fluid Byte wrote:I found a quite simple, yet effective solution for everyone who got the MS Platform SDK for Windows Server 2003 SP1 installed but don't get it working with PB. Basicaly you just need an alternative help browser as the default 'dexplore.exe'. Follow these steps:
1.) Download "H2 Viewer": http://helpware.net/mshelp2/h2viewer.htm
2.) Open PB and goto "Tools/Configure Tools..."
3.) Add a new tool with the following details:
- Commandline: Drive Root + Programm Root + \H2Viewer.exe
- Arguments: MS.PSDKSVR2003SP1.1033 /index %WORD
- Name: H2 Viewer (PSDKSVR2003)
- Shortcut: F1 *
Confirm twice if ya' done that :roll:
Thanks man.. this made my day.
- np
Here's the readme file I made for myself for the SDK; maybe it helps?
Code: Select all
When you install the MSDN SDK (so pressing F1 in PureBasic on an API keyword will
take you to the topic), you must first, after completing installation, launch the
"Platform SDK Documentation" help topic from the Start menu, otherwise the SDK
will not react to F1 in the PureBasic editor.I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
- SimpleMind
- Enthusiast

- Posts: 112
- Joined: Sun May 18, 2003 12:40 pm
- Location: Netherlands
Finally, I got it working
and this is what I've done:
- I deinstalled the Microsoft 2003 Server SDK R2
- Installed the Microsoft 2003 Server SDK SP1 by internet install.
I started the SDK first and ran PB40, pushed F1 on a API function. It worked.
Even when the SDK is not started first PB will start it now and even when there is a help folder present it works. The help folder contains the MVCOM helpfile and that works too.
The difference between the two installations is SP1 notation and R2 notation and the internet internet installation. The R2 version is downloaded in chunks put on disk and installed later from disk. The last install was an installation from internet.
Regards,
Marcel
- I deinstalled the Microsoft 2003 Server SDK R2
- Installed the Microsoft 2003 Server SDK SP1 by internet install.
I started the SDK first and ran PB40, pushed F1 on a API function. It worked.
Even when the SDK is not started first PB will start it now and even when there is a help folder present it works. The help folder contains the MVCOM helpfile and that works too.
The difference between the two installations is SP1 notation and R2 notation and the internet internet installation. The R2 version is downloaded in chunks put on disk and installed later from disk. The last install was an installation from internet.
Regards,
Marcel
Give me books, fruit, french wine, fine weather and a little music.
John Keats
John Keats
> I started the SDK first and ran PB40, pushed F1 on a API function. It worked.
> Even when the SDK is not started first PB will start it
Yep, just like I said.
You need to do that initial launch of the SDK for PureBasic
to "recognize" it in future -- without needing to launch the SDK in future.
> Even when the SDK is not started first PB will start it
Yep, just like I said.
to "recognize" it in future -- without needing to launch the SDK in future.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.
- SimpleMind
- Enthusiast

- Posts: 112
- Joined: Sun May 18, 2003 12:40 pm
- Location: Netherlands
@PB, I think that besides your information given, there is a difference in installation when done by Internet install or local harddisk install by setup.exe and downloading the 25MB chunks. The R2 or SP1 version can also be part of the problem. Now I used the SP1.PB wrote:Yep, just like I said.You need to do that initial launch of the SDK for PureBasic
to "recognize" it in future -- without needing to launch the SDK in future.
After this experience I recommend the SP1 internet install and your startup information.
@All, Thanks for all help!
Give me books, fruit, french wine, fine weather and a little music.
John Keats
John Keats
- NoahPhense
- Addict

- Posts: 1999
- Joined: Thu Oct 16, 2003 8:30 pm
- Location: North Florida
No, the types of installs have nothing to do with it.
And using the SP1, over R2 would just be a wrong thing to do.
I have R2 installed and I'll use it by just launching it and going to it
normally. I do have TWO win32 help files in the Help folder.
One is 24.2 mb's that's the older win32 api reference book, I have it
named WIN32_2.HLP, the other is the newer API help, it's 19.5mb's and
I have it named WIN32.HLP. Those work fine for my quick reference
within PB. If I need more, I use the platform SDK R2. And probably
the reason things are different for me, is because I'm running the new
IE7.
Anyhow, it's all good. Since I started tooling with japbe.. the R2 works
perfect inside of it.
- np
And using the SP1, over R2 would just be a wrong thing to do.
I have R2 installed and I'll use it by just launching it and going to it
normally. I do have TWO win32 help files in the Help folder.
One is 24.2 mb's that's the older win32 api reference book, I have it
named WIN32_2.HLP, the other is the newer API help, it's 19.5mb's and
I have it named WIN32.HLP. Those work fine for my quick reference
within PB. If I need more, I use the platform SDK R2. And probably
the reason things are different for me, is because I'm running the new
IE7.
Anyhow, it's all good. Since I started tooling with japbe.. the R2 works
perfect inside of it.
- np
- SimpleMind
- Enthusiast

- Posts: 112
- Joined: Sun May 18, 2003 12:40 pm
- Location: Netherlands
Maybe, maybe not. If not than all problems around it would lead back to the first start of the SDK before PB is started. My mistake!NoahPhense wrote:No, the types of installs have nothing to do with it.
I looked what I miss and decided that the stuff is so special I would never use it and therefore don't miss it.And using the SP1, over R2 would just be a wrong thing to do.
How did you install SDK R2, webinstall or download and run the setup.exe.I have R2 installed and I'll use it by just launching it and going to it
normally. I do have TWO win32 help files in the Help folder.
One is 24.2 mb's that's the older win32 api reference book, I have it
named WIN32_2.HLP, the other is the newer API help, it's 19.5mb's and
I have it named WIN32.HLP. Those work fine for my quick reference
within PB. If I need more, I use the platform SDK R2.
How do you overcome the problem of selecting the proper HLP file? I use always the SKD.
I can't use IE7 due to compatibility problems with Netilla VPN.And probably the reason things are different for me, is because I'm running the new IE7.
Maybe it was due to my MS Visual Studio 2005 installation. The strange thing is that behind all the .NET information it every time has a link to "See xxxx in the Platform SDK". And again that is another source and not accessable to PB. That means also that I have tons of redundance information but not accessable in one way.Anyhow, it's all good. Since I started tooling with japbe.. the R2 works perfect inside of it.
- np
Great!
Give me books, fruit, french wine, fine weather and a little music.
John Keats
John Keats
