<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: zstar3 using zstarlib.dll in Visual c++ in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147924#M7581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are the errors I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning : The referenced project '..\zstarlib\zstarlib.csproj' does not exist.&amp;nbsp; &lt;FONT color="#ff0000"&gt;(When I click on this error, I get sent to the 'Microsoft.Common.targets' file and to the very first line '&amp;lt;!--'). Do I need to do anything in this file?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;error CS0246: The type or namespace name 'zstarlib' could not be found (are you missing a using directive or an assembly reference?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;error CS0246: The type or namespace name 'ZStar3' could not be found (are you missing a using directive or an assembly reference?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error CS0246: The type or namespace name 'ZStarSensor' could not be found (are you missing a using directive or an assembly reference?)&lt;/P&gt;&lt;P&gt;Compile complete -- 3 errors, 0 warnings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include "zstarlib.dll"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another method to do so, so that I can use the zstarlib commands in C++, instead of C#&amp;nbsp;and can get acceleration data out and placed into a text file, or something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Jun 2010 21:23:26 GMT</pubDate>
    <dc:creator>wave100</dc:creator>
    <dc:date>2010-06-13T21:23:26Z</dc:date>
    <item>
      <title>zstar3 using zstarlib.dll in Visual c++</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147921#M7578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anybody have source code on how to use zstarlib.dll in a Visual C++ project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because there is not any .lib or .h included with the zstarlib.dll, I'm assuming that the zstarlib needs to be loaded explicitly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I am not sure about is how to initialize these classes from the DLL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ZStar3 theZStar = new ZStar3();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ZStarSensor theSensor = null;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jan 2009 04:53:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147921#M7578</guid>
      <dc:creator>acylum</dc:creator>
      <dc:date>2009-01-31T04:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: zstar3 using zstarlib.dll in Visual c++</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147922#M7579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;I am having a similiar issue.&amp;nbsp; Cannot compile the ZStarLib_ExampleApp because it does not recognise the namespace FreeScale.ZstarLib and hence the library in the&amp;nbsp;.dll.&amp;nbsp; I am using C# since that is the code they provided for the ZStarLib_ExampleApp&amp;nbsp;and implimenting&amp;nbsp;in Visual Studio 2008.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Has anyone else had this issue or complied the ZStarLib_ExampleApp succesfully?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Best Regards,&lt;/DIV&gt;&lt;DIV&gt;Roger&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2009 09:46:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147922#M7579</guid>
      <dc:creator>u_crd</dc:creator>
      <dc:date>2009-02-15T09:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: zstar3 using zstarlib.dll in Visual c++</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147923#M7580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;in example application is small bug in project paths. Sorry&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the fix is very simple, only delete reference to zstarlib library and then add this library to project back, that's all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And C++ problem:&lt;/P&gt;&lt;P&gt;The library was developed in C# .NET , but I think that this library should work under C++ normally without any additional files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Mar 2009 17:12:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147923#M7580</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2009-03-17T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: zstar3 using zstarlib.dll in Visual c++</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147924#M7581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are the errors I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;c:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning : The referenced project '..\zstarlib\zstarlib.csproj' does not exist.&amp;nbsp; &lt;FONT color="#ff0000"&gt;(When I click on this error, I get sent to the 'Microsoft.Common.targets' file and to the very first line '&amp;lt;!--'). Do I need to do anything in this file?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#ff0000"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;error CS0246: The type or namespace name 'zstarlib' could not be found (are you missing a using directive or an assembly reference?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;error CS0246: The type or namespace name 'ZStar3' could not be found (are you missing a using directive or an assembly reference?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error CS0246: The type or namespace name 'ZStarSensor' could not be found (are you missing a using directive or an assembly reference?)&lt;/P&gt;&lt;P&gt;Compile complete -- 3 errors, 0 warnings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#include "zstarlib.dll"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there another method to do so, so that I can use the zstarlib commands in C++, instead of C#&amp;nbsp;and can get acceleration data out and placed into a text file, or something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jun 2010 21:23:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147924#M7581</guid>
      <dc:creator>wave100</dc:creator>
      <dc:date>2010-06-13T21:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: zstar3 using zstarlib.dll in Visual c++</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147925#M7582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have complied the program in C#. Just remove 'zstarlib' in the 'References' section, by right clicking on that directly and then in the same way, add it back to the 'References'. Thanks very much Gargy&lt;IMG alt=":smileyvery-happy:" class="emoticon emoticon-smileyvery-happy" id="smileyvery-happy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-very-happy.gif" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I now have the problem as to how to add 'zstarlib.dll' into a console application in Visual Studios 2008&amp;nbsp;C++, so that I can use the functions in this library in C++. Any help will be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Jun 2010 22:28:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147925#M7582</guid>
      <dc:creator>wave100</dc:creator>
      <dc:date>2010-06-13T22:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: zstar3 using zstarlib.dll in Visual c++</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147926#M7583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;nice to hear that lib works under C#.&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;But I'm afraid that I can't help you with C++, because I'm more embedded programmer than PC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jun 2010 12:39:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/zstar3-using-zstarlib-dll-in-Visual-c/m-p/147926#M7583</guid>
      <dc:creator>Gargy</dc:creator>
      <dc:date>2010-06-14T12:39:26Z</dc:date>
    </item>
  </channel>
</rss>

