Author Topic: Revision 1594  (Read 15951 times)

Offline jmccay

  • Almost regular
  • **
  • Posts: 202
Revision 1594
« on: February 07, 2006, 03:18:48 am »
  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
« Last Edit: February 07, 2006, 04:03:09 am by 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.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Revision 1594
« Reply #1 on: February 07, 2006, 06:21:32 am »
we're already in 1954 ;-)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5514
Re: Revision 1594
« Reply #2 on: February 07, 2006, 07:37:10 am »
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.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Revision 1594
« Reply #3 on: February 07, 2006, 08:34:04 am »
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."