Hi, I believe your problem is due to the fact that you are trying to access functions in classes outside the dnn application domain.
You didnt say whether the dll is included in the build of the dnn project you are using,
if it isnt that would explain why you can use it in a simple app but not dnn.
If you can you need to include the dll reference inside the dnn app in Visual Studio and build it again,
so its within the scope of the dnn project.
Alan.