[Wednesday, January 26, 2005 2:26 AM]
I added a registry key to HKLM using the GUI. RegTree.png shows that entry.
In the script editor the GUI created entry shows HRCR as the root as shown in
RegBadSource.png.
?PNG
?PNG
--
Best regards,
Mark
[Wednesday, January 26, 2005 2:26 AM]
I added a registry key to HKLM using the GUI. RegTree.png shows that entry.
In the script editor the GUI created entry shows HRCR as the root as shown in
RegBadSource.png.
?PNG
?PNG
--
Best regards,
Mark
[Wednesday, January 26, 2005 8:34 AM]
Mark,
Do you know how to reproduce this?
BTW, to "fix" this you can drag and drop the "Software" key to, say,
HKEY_CLASSES_ROOT and then back to HKEY_LOCAL_MACHINE.
Thanks,
Friedrich
--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910
[Wednesday, January 26, 2005 8:47 AM]
>Mark,
>
>Do you know how to reproduce this?
I haven't tried to repeat it. When it occurred I had simply followed the
steps necessary to add the key and value to HKLM, and then saw it was HKCR in
the script.
>BTW, to "fix" this you can drag and drop the "Software" key to, say,
>HKEY CLASSES ROOT and then back to HKEY LOCAL MACHINE.
Thanks, but I'll add them manually to the script. A bit a extra care when
dealing with the registry is always worth the effort. :}
--
Best regards,
Mark
[Wednesday, January 26, 2005 9:03 AM]
Hi Mark,
>>BTW, to "fix" this you can drag and drop the "Software" key to, say,
>>HKEY CLASSES ROOT and then back to HKEY LOCAL MACHINE.
>
> Thanks, but I'll add them manually to the script. A bit a extra care when
> dealing with the registry is always worth the effort. :}
Yes, I understand. But the above drag and drop method fixes this. Under
certain circumstances, the IDE seems to lose the key name. The problem is
that I cannot reproduce this :-(
Thanks again,
Friedrich
--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910
[Wednesday, January 26, 2005 5:15 PM]
>Hi Mark,
>
>>>BTW, to "fix" this you can drag and drop the "Software" key to, say,
>>>HKEY CLASSES ROOT and then back to HKEY LOCAL MACHINE.
>>
>> Thanks, but I'll add them manually to the script. A bit a extra care when
>> dealing with the registry is always worth the effort. :}
>
>Yes, I understand. But the above drag and drop method fixes this. Under
>certain circumstances, the IDE seems to lose the key name. The problem is
>that I cannot reproduce this :-(
Friedrich,
Assuming it will help to have a script that was in that state, I'll try to do
it again here. If I reproduce it, I'll send the script.
--
Best regards,
Mark
[Wednesday, January 26, 2005 5:18 PM]
Hi Friedrich,
>Yes, I understand. But the above drag and drop method fixes this. Under
>certain circumstances, the IDE seems to lose the key name. The problem is
>that I cannot reproduce this :-(
Same thing I ran into. I never found any way to reproduce it
reliably. Maybe you could run a check on the registry keys before
compile or during compile to see if they are ok. If not, then add an
error message to the compile window or something.
Best regards,
Arnór Baldvinsson
Icetips Software
[Wednesday, January 26, 2005 5:40 PM]
Arnór,
It's caused by a very simple bug - but the problem is that I cannot find the
buggy line in our source code. A variable loses the root key id and is set
to "1". But I don't know which function resets this variable (and why).
Perhaps it's the EIP. I ran into this some time ago, but cannot reproduce
it :-(
Thanks,
Friedrich
[Wednesday, January 26, 2005 5:43 PM]
>Arnór,
>
>It's caused by a very simple bug - but the problem is that I cannot find the
>buggy line in our source code. A variable loses the root key id and is set
>to "1". But I don't know which function resets this variable (and why).
>Perhaps it's the EIP. I ran into this some time ago, but cannot reproduce
>it :-(
Friedrich,
I just tried about a dozen times with a new script and can't get it to
misbehave. If I ever see it again, I'll send the script instead of a couple
of useless images.
--
Best regards,
Mark
[Wednesday, January 26, 2005 5:47 PM]
Mark,
Thank you!!! And I'll check our source code again.
Friedrich
--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910
[Wednesday, January 26, 2005 6:01 PM]
>Mark,
>
>Thank you!!! And I'll check our source code again.
Friedrich,
I spoke too soon. I just sent you a script where that condition exists. It
then occurred to me that I may have done something to help the behavior
along. In case that's so, here's what I did this time and the first time I
saw it.
I copied a key name from a WISE script, "Software\RSC\OmniFleet Pro". In SB5,
I selected HKLM, right-click, select key, and paste that string. You want a
node, so it displays the error about bad chars in the string. I past it again
and leave only "Software" in the key. I repeated the process for the next key
using "\RSC\OmniFleet Pro", then finish creating the proper key name and add
the string value named "Install Path" with % SB INSTALLDIR% as data. At that
point I checked the script and had the four HKCR.
HTH.
--
Best regards,
Mark
There are currently 1 users browsing this thread. (0 members and 1 guests)