again with VirtualBox Software Developer Kit

This is for discussing general topics about how to use VirtualBox.
Post Reply
silent_gamer
Posts: 1
Joined: 16. Dec 2009, 20:57
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

again with VirtualBox Software Developer Kit

Post by silent_gamer »

Hello,

I think this is not the first topic complaining about the absence of a "readme" or "install guide" on the VB SDK.

I'm newby in VB but I have been using VMWare for several months and I had a lot of programs running using its APIs based on JAVA.

I want to move to VBOX and use its C/C++ SDK

I only found the user guide and Programming Guide and Reference which none of them explain if how to set up the programming enviroment.

Maybe it is obvious for advanced programmers but not for beginners like me

Well I want to ask :

1- Do I need to install any additional package to get the SDK working ? (it was the case using vmware). I checked the VB installation directory and it has the same floder named SDK wich is available to download on the VB web site, so if the SDK package is already installed, why then making a standalone downladable package ?

2- I tried running the sample on the package and I got this linking error :

MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

as far as I know, this means I need to get a library (*.lib) linked to my build but I only see VirtualBox.tlb and VirtualBox_i.c, if anyone could explain to me how to link them

thank you
#include<stdio.h>
#include<conio.h>

void main ()
{
printf(" Hello World \n");
getch();
}
Technologov
Volunteer
Posts: 3342
Joined: 10. May 2007, 16:59
Location: Israel

Re: again with VirtualBox Software Developer Kit

Post by Technologov »

very few developers are here... try the vbox-dev mailing list
Post Reply