Página 1 de 1

TRegistry:Openkey() return value

Publicado: Mar Feb 19, 2008 4:22 pm
por Gejza Horvath
Hi,
on the user's computer the code
WITH OBJECT TRegistry():Create()
:Root := HKEY_LOCAL_MACHINE
nError := :OpenKey( "SoftwareVema")
END WITH
returns nError = 9. Can sombody tell me what is the reason of this error and how to avoid
it?
For nine months the app works fine.
Gejza Horvath

TRegistry:Openkey() return value

Publicado: Mar Feb 19, 2008 7:04 pm
por Ingo JH
Gejza,
maybe this description could help
http://support.microsoft.com/default.as ... 5011/en-us
Regards
Ingo
"Gejza Horvath" <_hsoftkn@nextra.sk> schrieb im Newsbeitrag
news:47baf45f$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi,
>
> on the user's computer the code
>
> WITH OBJECT TRegistry():Create()
> :Root := HKEY_LOCAL_MACHINE
> nError := :OpenKey( "SoftwareVema")
> END WITH
>
> returns nError = 9. Can sombody tell me what is the reason of this error
> and how to avoid it?
>
> For nine months the app works fine.
>
> Gejza Horvath
>

TRegistry:Openkey() return value

Publicado: Mar Feb 19, 2008 7:04 pm
por Ingo JH
Gejza,
maybe this description could help
http://support.microsoft.com/default.as ... 5011/en-us
Regards
Ingo
"Gejza Horvath" <_hsoftkn@nextra.sk> schrieb im Newsbeitrag
news:47baf45f$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi,
>
> on the user's computer the code
>
> WITH OBJECT TRegistry():Create()
> :Root := HKEY_LOCAL_MACHINE
> nError := :OpenKey( "SoftwareVema")
> END WITH
>
> returns nError = 9. Can sombody tell me what is the reason of this error
> and how to avoid it?
>
> For nine months the app works fine.
>
> Gejza Horvath
>

TRegistry:Openkey() return value

Publicado: Mar Feb 19, 2008 7:09 pm
por Gejza Horvath
Thanks Ingo,
this article generates another question:
9L ERROR_INVALID_BLOCK The storage control block
address is invalid.What can it be and how to
solve the problem?Gejza Horvath

TRegistry:Openkey() return value

Publicado: Mar Feb 19, 2008 7:09 pm
por Gejza Horvath
Thanks Ingo,
this article generates another question:
9L ERROR_INVALID_BLOCK The storage control block
address is invalid.What can it be and how to
solve the problem?Gejza Horvath

TRegistry:Openkey() return value

Publicado: Mié Feb 20, 2008 1:12 pm
por Ingo JH
Gejza,
I don't know what it means in conjunction with opening a registry key.
BTW your code works fine here (1.8.1), but I'm using :New() and :End()
Regards
Ingo
"Gejza Horvath" <_hsoftkn@nextra.sk> schrieb im Newsbeitrag
news:[email=47bb1ba0@ozsrv2.ozlan.local...]47bb1ba0@ozsrv2.ozlan.local...[/email]
> Thanks Ingo,
>
> this article generates another question:
> 9L ERROR_INVALID_BLOCK The storage control block
> address is invalid.What can it
> be and how to solve the problem?Gejza Horvath
>

TRegistry:Openkey() return value

Publicado: Mié Feb 20, 2008 1:12 pm
por Ingo JH
Gejza,
I don't know what it means in conjunction with opening a registry key.
BTW your code works fine here (1.8.1), but I'm using :New() and :End()
Regards
Ingo
"Gejza Horvath" <_hsoftkn@nextra.sk> schrieb im Newsbeitrag
news:[email=47bb1ba0@ozsrv2.ozlan.local...]47bb1ba0@ozsrv2.ozlan.local...[/email]
> Thanks Ingo,
>
> this article generates another question:
> 9L ERROR_INVALID_BLOCK The storage control block
> address is invalid.What can it
> be and how to solve the problem?Gejza Horvath
>