[vbox-dev] Regarding about the error with the CreateBandwidthGroup() using c code in the virtualbox4.0 sdk
howard0su at gmail.com
Thu Feb 10 01:13:51 PST 2011
You may want to first get a debug build (configure -d), then use gdb to
debug your code to see where it gets crash.
On Thu, Feb 10, 2011 at 1:40 PM, John Lee <skjl25 at gmail.com> wrote:
> I'm sorry for the second message. But I was working with both c and c++
> I have been working on in the tstXPCOMCGlue.c with the vbox 4.0.
> I was able to generate the vms but somehow I'm having a problem with the
> IBandwidthControl* test;
> test->vtbl->CreateBandwidthGroup(test,&machineNameUtf16, 'network',100);
> I'm pretty sure that the machineNameUtf16 has the correct machine name.
> Somehow, I'm getting a segmentation fault.
> I think I'm doing something wrong here, but now sure.
> Is there a way to fix this? or do you have any sample code?
> Thank you in advance
> John Lee
> vbox-dev mailing list
> vbox-dev at virtualbox.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vbox-dev