<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>My apologies for the mistakes. I meant to say that the virtual machine, not virtualbox crashes. Second, the log i included was when I was trying to use CFGMR3AreValuesValid() and it also gives the same error as using CFGMR3QueryBytes(). Yes you are right
 that we can access the CFGM tree but using the function CFGMR3QueryBytes, I believe we can move through the tree and locate particular nodes and see values like MAC address.
<br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
Regards,
<div>Burhan Ayub Wani<br>
</div>
<div>+1-817-812-6040<br>
</div>
<div>Linkedin: <span style="font-family:inherit; font-style:inherit; font-variant:inherit; line-height:inherit; color:rgb(51,51,51); font-size:11px"><a title="Ctrl+Click or tap to follow the link" id="LPNoLP" href="http://www.linkedin.com/in/burhanwani">http</a></span><span style="font-family:inherit; font-style:inherit; font-variant:inherit; line-height:inherit; color:rgb(51,51,51); font-size:11px"><a id="LPNoLP" href="http://www.linkedin.com/in/burhanwani">://www.linkedin.com/in/burhanwani</a> </span><br>
</div>
</div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Michal Necasek <michal.necasek@oracle.com><br>
<b>Sent:</b> Monday, November 16, 2015 6:33 AM<br>
<b>To:</b> vbox-dev@virtualbox.org<br>
<b>Subject:</b> Re: [vbox-dev] Virtualbox Configuration manager</font>
<div> </div>
</div>
<div>
<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>
<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>
</div>
</div>
</div>
</body>
</html>