Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

I download the SDK CHM file, but can't open it, why?

(1/2) > >>

ollydbg:
These days, I'm trying to do something to help developing C::B, so I download the sdk document from:

http://prdownload.berlios.de/codeblocks/codeblocks_sdk_doc_r5046.chm

But, I can't open it. My system is windows XP and I don't have any problem with my networks and Internet explorer.

By the way, it seems this is the latest sdk document for developers. Is there another one? I think it is very important to understand the structure of the sdk and the source code.

Here is the screenshot. non of the pages can be viewed.




[attachment deleted by admin]

MortenMacFly:

--- Quote from: ollydbg on January 06, 2009, 03:33:01 pm ---http://prdownload.berlios.de/codeblocks/codeblocks_sdk_doc_r5046.chm

--- End quote ---
One reason is illegal characters in your path (e.g. a hash '#'). Place the documentation in a short path (e.g. C:\Temp) and tell me if it works...

Another reason might be: Downloaded CHM files are locked by default by Windows due to virus paranoia. You can enable the use of them somehow using a registry patch. But I forgot how I did this... :-(

PS.: I KNOW this sounds weird. But trust me: It's true.

ollydbg:
Thanks for the quick reply!
I tried the first method, even I change its path to the "c:\a.chm", it still can't work.

But Google gives me the method which does some patch to registry.


--- Code: ---REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions]
"MaxAllowedZone"=dword:00000003

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000003

--- End code ---

Then, it works!

Thank you very much. :D

MortenMacFly:

--- Quote from: ollydbg on January 06, 2009, 03:49:22 pm ---
--- Code: ---REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\HHRestrictions]
"MaxAllowedZone"=dword:00000003

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]
"MaxAllowedZone"=dword:00000003

--- End code ---
Then, it works!

--- End quote ---
Yes - that's the one I was referring to... We should put this into the WiKi...

ollydbg:
Yes, you are right. The wiki page should be extended.
I add some comments on here:
http://wiki.codeblocks.org/index.php?title=Talk:Developer_documentation

Any suggestions? Thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version