Page 1 of 1

Readregistry

PostPosted: Sat Jul 07, 2012 1:59 pm
by Slowdown
ReadRegistry is unable to read REG_MULTI_SZ from the registry.
it returns an empty String.

Re: Readregistry

PostPosted: Mon Oct 01, 2012 8:14 pm
by blatman
Confirmed - seems to be a problem.
XP Pro SP3 on VBox 4.2 on OSX 10.6.8

Tried 2 REG_MULTI_SZ keys and one worked the other didn't.
Seems maybe to work if only one line is used?

1st key -
ReadRegistry("HKEY_LOCAL_MACHINE\\HARDWARE\\DESCRIPTION\\System", "SystemBiosVersion") Worked and gave VBOX -1

Raw content of key was
VBOX -1CRLF

2nd key -
ReadRegistry("HKEY_LOCAL_MACHINE\\HARDWARE\\DESCRIPTION\\System", "VideoBiosVersion") Failed and was empty.

Raw content of key was
Oracle VM VirtualBox Version 4.2.0 VGA BIOSCRLF
Oracle VM VirtualBox Version 4.2.0 VGA BIOSCRLF
Oracle VM VirtualBox Version 4.2.0CRLF
Oracle VM VirtualBox Version 4.2.0CRLF
CRLF
CRLF
CRLF
CRLF
CRLF
CRLF
CRLF
CRLF
CRLF
CRLF
CRLF
CRLF



Cheers,
B