Opened 5 years ago
#19224 new defect
get_Machines not working in 6.1 API
Reported by: | toptensoftware | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 6.1.0 |
Keywords: | Cc: | ||
Guest type: | all | Host type: | Windows |
Description
Originally posted to forum (here: https://forums.virtualbox.org/viewtopic.php?f=34&t=96233), lodging as a bug report since not resolved....
---
I'm the developer of VBoxHeadlessTray (see here: https://www.toptensoftware.com/vboxheadlesstray). I'm trying to get it working with the latest 6.1 SDK but I'm finding that after calling get_Machines and going through the returned array, the IUnknown for the objects are returned correctly from SafeArrayGetElement, however calling QueryInterface for IMachine fails with E_NOINTERFACE.
The IID_IMachine I'm using is {85632C68-B5BB-4316-A900-5EB28D3413DF}
Running on Windows 10, guest OS is not applicable.