Error in VB.net streaming - could not load NatNetML.dll

NatNet, VRPN, TrackD, and Plugins
Post Reply
elpiar
Posts: 4
Joined: Thu Mar 04, 2010 8:24 am

Error in VB.net streaming - could not load NatNetML.dll

Post by elpiar »

I got this error in VB.net:

An error occurred creating the form. See Exception.InnerException for details. The error is: Could not load file or assembly 'NatNetML, Version=2.1.3618.19850, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

I already added NatNetML.dll in the project reference. I'm new to VB. Please help.
aluaces
Posts: 9
Joined: Mon Dec 21, 2009 10:14 am

Re: Error in VB.net streaming - could not load NatNetML.dll

Post by aluaces »

I do not know VB, but you can check that the NatNet DLL is present in the system folders or in the working directory of your application.
elpiar
Posts: 4
Joined: Thu Mar 04, 2010 8:24 am

Re: Error in VB.net streaming - could not load NatNetML.dll

Post by elpiar »

This is resolved.
it turns out that i need to set the target cpu compile to 32 bit and there is some mismatch on teh dll file.
Post Reply