¿Sabéis si la clase tReg32 tiene algun problema en windows 7?
el siguiente código...
- Code: Select all Expand view
- default c := "SOFTWARE\Gestion\1.0\Settings"
oReg := TReg32():New( HKEY_LOCAL_MACHINE, C, .F. )
oMySQL:cUser:=alltrim(oReg:Get( "user", "" ))
oMySQL:cPassword:=alltrim(oReg:Get( "password", "" ))
oMySQL:cServer:=alltrim(oReg:Get( "server", "" ))
oMySQL:nPort:=val(alltrim(oReg:Get( "port", "" )))
oMySQL:cCatalog:=alltrim(oReg:Get( "catalog", "" ))
oReg:Close()
devuelve perfectamente los valores en windows xp, pero en windows 7 devuelve todo en blanco
FWH901
Muchas Gracias