VirtualBox

Opened 10 years ago

#13263 new defect

RTPathUserHome lookup fails when using API in a windows service

Reported by: hakito Owned by:
Component: host support Version: VirtualBox 4.3.14
Keywords: Cc:
Guest type: all Host type: Windows

Description

RTPathUserHome uses environment variables to determine the user home directory. When accessing the API from a windows service the lookup for the user home directory fails.

Probably a solution would be to use SHGetFolderPathW for the lookup.

http://stackoverflow.com/questions/9542611/how-to-get-the-current-users-home-directory-in-windows

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use