News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Revision 1594

Started by jmccay, February 07, 2006, 03:18:48 AM

Previous topic - Next topic

jmccay

  I just compiled revision 1594 with Unicode, and when I started it up, I got the following error message:

"Can't open registry key 'HKCU\Software\Classes\.d' (error 2: the system cannot find the file specified.)"

I thought the that codeblocks no longer used the registry?  This has only happened the first time (so far) that I loaded up the new project after compiling it today (2/6/2006).

Also, should I be putting these under another directory?

jmccay
OS: WinXP, Win98 SE, & sometimes Linux

a little light reading from the wxWidgets 2.6.2 readme: A detailed 2000-page reference manual is supplied in HTML, PDF and Windows Help form: see the docs hierarchy.

tiwag

we're already in 1954 ;-)

killerbot

I am aware of that problem, no idea why it happens, I had it once with a .cbp also. Indeed it shows up once, and then it is gone, and the key in the registry is created. Weird. Registry is used to register file types of CB, nothing more.

thomas

That is apparently a wxWidgets bug.
This happens ever since Lieven's registry patch for Windows 98 compatibility was applied. However, Lieven's code seems to be perfectly correct, it first checks whether a key exists, and if it does not, the key is created. At that point, an error that the key cannot be opened is generated, which is outright silly (of course it does not exist, that's why we create it).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."