<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><br> This is really confusing. You say VirtualBox crashes, but I see it reporting an error caused by an assertion. You talk about CFGMR3QueryBytes() but the log file shows failures due to CFGMR3AreValuesValid(). You talk about accessing data from the "configuration xml file" but there is no such functionality, there is only a way to access the CFGM tree.<br><br> The VBox.log file you provided hints that the symbol VMMR3AreValuesValid does not exist in the process loading your library. I'm not sure why.<br><br> Finally, do not mix up *nix shared libraries and Windows style DLLs. They solve similar problems but the similarity can be deceptive.<br><br>        Regards,<br>            Michal<br><br>----- Original Message -----<br>From: burhan.wani@mavs.uta.edu<br>To: vbox-dev@virtualbox.org<br>Sent: Thursday, November 12, 2015 10:41:31 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna<br>Subject: [vbox-dev] Virtualbox Configuration manager<br><br>


<style style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>

<div dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><br>
</p>
<p><span id="ms-rterangepaste-start"></span></p>
<p>I have successfully written code for a virtual device and Virtualbox is able to recognize my virtual device. I have been able to successfully communicate with this virtual device. Inside this file, I am trying to use the cfgm.cpp functions like CFGMR3QueryBytes(
 ) to access data from the configuration xml file but it just crashes the VM before even starting. The log says CFGMR3QueryBytes( ) is undefined symbol. I have included the necessary header files. I also looked at DevPCNet.cpp which is using the same functions
 in its pcnetConstruct( ) function successfully. <br>
</p>
<p>I believe it has something to do with DLL loading. I am attaching a log file here</p>
<p><br>
</p>
libvirtdevice.so is the binary of my virtual device  and adding it to Virtualbox.
<span id="ms-rterangepaste-end"></span><br>
<p></p>
</div>
</div>

</div></body></html>