<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><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>
</body>
</html>