Click here to Skip to main content
15,908,013 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have installed 'Microsoft Visual Studio 2008 Pro' and its 'MSDN Library' (SP1).

Next, I've installed 'Windows Mobile 6 Professional SDK Refresh'.

'Platform SDK' or 'Windows SDK' is not installed.

Question:
How to integrate WM6 SDK help into the VS help system?
That is, for example, I am in VS editor window with WM6 C++ project. Cursor is over API-function 'CreateWindow'.
When I press F1 - help is loaded on 'CreateWindow' function for 'big-PC' WinAPI, but I need help on this function for mobile WinAPI.

Or at least I'd like to see several options to choose - from which SDK to show info on this function.

Previously, when I had VS 2005 and installed the same WM6 SDK (mentioned above), everything worked as it should.

Thanks.
Posted
Updated 14-Jan-11 4:13am
v2
Comments
Dalek Dave 14-Jan-11 10:13am    
Edited for Grammar and Readability.
(You English is fine).

1 solution

I found solution here (thanks to ondrej_bohaciak):
http://social.msdn.microsoft.com/forums/en-us/windowsmobiledev/thread/8CCF923F-05DA-46B4-8ECB-83DD2851A118

After I installed Windows Mobile 6 SDK Refresh, I went to browse the documentation. Since I have many tools that integrate their help files into VS 2008 help collection, I always use VS 2008 help. I like to have all documentation neatly organized and in one place. Thing is it wasn't there. Altough I could access WM6 documentation via its folder in the Start menu, it just wasn't it...

So I cooked up a batch file to integrate WM helpfiles into VS2008 help collection. Here goes:

set PATH=%PATH%;"D:\Desktop"

cd /d "%PROGRAMFILES%\\Windows Mobile 6 SDK\Help\"

InnovaHxReg /R /N /Namespace:MS.WindowsMobile.6 /Description:"Windows Mobile 6 SDK" /Collection:"WindowsMobileSDK.HxC"

InnovaHxReg /R /T /Namespace:MS.WindowsMobile.6 /ID:WindowsMobile6SDK /LangID:1033 /Helpfile:"WindowsMobile6SDK.HxS"

InnovaHxReg /R /P /ProductNamespace:ms.vscc.v90 /ProductHxt:_DEFAULT /Namespace:MS.WindowsMobile.6 /Hxt:_DEFAULT

InnovaHxReg /R /F /Namespace:ms.vscc.v90 /FilterName:"Windows Mobile 6 SDK" /FilterQuery:"\"DocSet\" = \"MS.WindowsMobile.6\""

Some comments:
- You need InnovaHxReg.exe (help file registration tool). It usualy comes with HelpStudio, it might be in the free, Lite version as well. If you take a moment and search for it, you'll find it
- Path must be set to the folder that contained the tool

It registers the WM6 namespace and assigns it the collection file (HxC). The it assigns the file containing the documentation (HxS) to the namespace. The documentation can now be viewed in dexplore.exe. Third step is what it's all about. It plugs the WM6 namespace into VS 2008 help namespace. Last step adds a filter you can use in the global documentation to filter out anything unrelated to VM6



File InnovaHxReg.exe you can get installing Innovasys HelpStudio Lite: innovasys.com/products/hslite/overview.aspx
 
Share this answer
 
v2
Comments
Dalek Dave 14-Jan-11 10:14am    
Good Answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900