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.
(http://forums.next.codeblocks.org/index.php?action=dlattach;topic=9872.0;attach=2972)
[attachment deleted by admin]
Quote from: ollydbg on January 06, 2009, 03:33:01 PM
http://prdownload.berlios.de/codeblocks/codeblocks_sdk_doc_r5046.chm
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.
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.
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
Then, it works!
Thank you very much. :D
Quote from: ollydbg on January 06, 2009, 03:49:22 PM
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
Then, it works!
Yes - that's the one I was referring to... We should put this into the WiKi...
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.
Did you try Right Click/Properties/unblock
see http://support.microsoft.com/kb/902225/ (http://support.microsoft.com/kb/902225/)
Quote from: pjk on January 08, 2009, 07:24:22 AM
Did you try Right Click/Properties/unblock
see http://support.microsoft.com/kb/902225/ (http://support.microsoft.com/kb/902225/)
Thanks, although I have already solved the problem with another method. :D
QuoteThanks, although I have already solved the problem with another method.
There may be security implications of setting
Quote"MaxAllowedZone"=dword:00000003
After all the security patch specifically reduced this number to avoid a vulnerability in HTML help which could allow remote code execution
http://support.microsoft.com/kb/896054/ (http://support.microsoft.com/kb/896054/)
@pjk
Thanks for your patience and suggestion.
I followed your steps and their is a "unlock" button in the CHM files property dialog. By the way, this is the first time I saw such a button :D.
I'm wondering how to set my IE back to original setting. I just press the button "Internet option -> security -> reset all zones to default level". (By the way, I seldom use IE, most time, I use Firefox, :D).
Thanks again!