I am having the exact same problems. Even when using your suggestion Gargy, I can't compile ExampleApp in C#. Could you give exact instructions in how to change the library path.
These are the errors I get:
c:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning : The referenced project '..\zstarlib\zstarlib.csproj' does not exist. (When I click on this error, I get sent to the 'Microsoft.Common.targets' file and to the very first line '<!--'). Do I need to do anything in this file?
C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /nowarn:1701,1702 /errorreport: prompt /warn:4 /define: DEBUG;TRACE /reference: C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Data.dll /reference: C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Deployment.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Drawing.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Windows.Forms.dll /reference:C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug+ /debug:full /optimize- /out: obj\Debug\ZStarLib_ExampleApp.exe /resource: obj\Debug\ZStarLib_ExampleApp.ZSTARLIB_EXAMPLE.resources /resource: obj\Debug\ZStarLib_ExampleApp.Properties.Resources.resources /target:winexe /win32icon: dgmain.ico ZSTARLIB_EXAMPLE.cs ZSTARLIB_EXAMPLE.Designer.cs Program.cs Properties\AssemblyInfo.cs Properties\Resources.Designer.cs Properties\Settings.Designer.cs
error CS0246: The type or namespace name 'zstarlib' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'ZStar3' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'ZStarSensor' could not be found (are you missing a using directive or an assembly reference?)
Compile complete -- 3 errors, 0 warnings
Also, I want to translate the ExampleApp code into C++, but I can't seem to add or use the library, 'zstarlib.dll'. I am just adding in into an empty Visual Studios 2008 console application, using:
#include "zstarlib.dll"
Is there another method to do so, so that I can use the zstarlib commands in C++, instead of C# and can get acceleration data out and placed into a text file, or something similar.
Thanks very much.