In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

TRegistry:Openkey() return value

Xailer professional forum in English
Responder
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

TRegistry:Openkey() return value

Mensaje 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
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

TRegistry:Openkey() return value

Mensaje 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
>
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

TRegistry:Openkey() return value

Mensaje 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
>
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

TRegistry:Openkey() return value

Mensaje 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
Gejza Horvath
Mensajes: 281
Registrado: Mar Ago 15, 2006 1:50 pm

TRegistry:Openkey() return value

Mensaje 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
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

TRegistry:Openkey() return value

Mensaje 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
>
Ingo JH
Mensajes: 358
Registrado: Lun Dic 10, 2007 5:10 pm

TRegistry:Openkey() return value

Mensaje 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
>
Responder