News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

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

Started by ollydbg, January 06, 2009, 03:33:01 PM

Previous topic - Next topic

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]
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

MortenMacFly

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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

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.


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
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

MortenMacFly

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...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

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.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

pjk


ollydbg

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/
Thanks, although I have already solved the problem with another method. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

pjk

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/

ollydbg

@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!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.