<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>4 Apr 2018 12:19:00 Z</lastBuildDate><pubDate>30 Mar 2018 16:16:00 Z</pubDate><description>I'm searching for a way to connect an arduino to FSUIPC, a tool for flightsimulator software.&#13;
&#13;
An other developer created an dotnet solution for this incl some examples writen in VB and C#.&#13;
This and the great movies from Fabrice Harari give me a jumpstart but 1 'little' syntax problem i can't solve.&#13;
&#13;
With totaly no knowledge of C# and VB i have to ask for help.&#13;
&#13;
The example code in C# i want transfer to WD is :&#13;
private Offset&lt; uint &gt; airspeed = new Offset&lt; uint &gt;(0x02BC); // 4-byte offset - Unsigned integer private Offset&lt; int &gt; verticalSpeed = new Offset&lt; int &gt;(0x02C8); // 4-byte offset - Signed integer private Offset&lt; Double &gt; compass = new Offset&lt; double &gt;(0x02CC); // 8 byte offset - double (FLOAT64) private Offset&lt; ushort &gt; onGround = new Offset&lt; ushort &gt;(0x0366); // 2-byte offset - Unsigned short private Offset&lt; string &gt; aircraftType = new Offset&lt; string &gt;(0x3160, 24); // 24 byte offset - String&#13;
The declaration of an object with a &lt; DataType &gt; gives me headache, so if someone can help me with this, is much appreaciated.&#13;
&#13;
&#13;
ps: i Added extra spaces around the &lt; DataType &gt; because without, the forum delete them.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65072-wd22-dotnet-object-declarion-with-datatype/read.awp</link><title>[WD22] DotNET object declarion with a datatype</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65072-wd22-dotnet-object-declarion-with-datatype-65127/read.awp</comments><pubDate>4 Apr 2018 12:19:00 Z</pubDate><description>Hi Peter,&#13;
&#13;
Thanks for your reply, Your link is a good example.&#13;
I needed more than 2 minuts to understand a bit ;-)&#13;
&#13;
I have …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65072-wd22-dotnet-object-declarion-with-datatype-65127/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65072-wd22-dotnet-object-declarion-with-datatype-65127/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65072-wd22-dotnet-object-declarion-with-datatype/read.awp">[WD22] DotNET object declarion with a datatype</source><title>Re: [WD22] DotNET object declarion with a datatype</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65072-wd22-dotnet-object-declarion-with-datatype-65120/read.awp</comments><pubDate>3 Apr 2018 16:05:00 Z</pubDate><description>Hi Theo,&#13;
&#13;
Looks you're trying to do something like this:&#13;
http://www.flightsim.com/vbfs/content.php?13842-Streaming-Aircraft-P…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65072-wd22-dotnet-object-declarion-with-datatype-65120/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65072-wd22-dotnet-object-declarion-with-datatype-65120/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/65072-wd22-dotnet-object-declarion-with-datatype/read.awp">[WD22] DotNET object declarion with a datatype</source><title>Re: [WD22] DotNET object declarion with a datatype</title></item></channel></rss>
