Missing VBoxRT-x86.dll

Discussion about using the VirtualBox API, Tutorials, Samples.

Missing VBoxRT-x86.dll

Postby Aries » 25. Nov 2013, 16:45

Host OS: Windows 8 64 bit
IDE: Visual Studio 2010 Express
Language: C++
Virtual Box Version: 4.3.2 r90405

It seems obvious from the error displayed that I'm missing this VBoxRT-x86.dll when I create an instance of ISession as follows:

rc = CoCreateInstance(CLSID_Session, /* the VirtualBox base object */
NULL, /* no aggregation */
CLSCTX_INPROC_SERVER, /* the object lives in a server process on this machine */
IID_ISession, /* IID of the interface */
(void**)&session);

I tried looking for it on the web, but no luck finding it. Do I need it? Or should I change my compilation target to x64?

Thanks.
Aries
 
Posts: 2
Joined: 25. Nov 2013, 16:19

Re: Missing VBoxRT-x86.dll

Postby frank » 26. Nov 2013, 14:35

Right, the problem is that you are trying to access the interface with 32-bit while your Windows installation runs at 64-bit. We will fix this eventually but for now, use the 64-bit interface.
frank
Oracle Corporation
 
Posts: 3362
Joined: 7. Jun 2007, 09:11
Location: Dresden, Germany
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows


Return to The VirtualBox API

Who is online

Users browsing this forum: No registered users and 1 guest