Fix issue related with dll, and exception
Merge pull request #46 from MatiasHeffel/master

Fix issue related with dll, and exception