<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>20 Jul 2017 14:59:43 Z</lastBuildDate><pubDate>6 Jul 2017 14:32:08 Z</pubDate><description>Hi All,&#13;
&#13;
I'm trying to use a .NET assembly (Data Translation "OpenLayers.Base.dll").&#13;
&#13;
I have added the .net assembly and this now shows up in the Project Explorer.&#13;
&#13;
The first thing I'm trying to do is to see if any Data Translation devices are connected to the system.&#13;
&#13;
So I want to use HardwareAvailable() which is in the DeviceMgr class of the assembly.&#13;
&#13;
Using the following code:&#13;
&#13;
hardware_available_bool is boolean&#13;
 	&#13;
dotnet_device_manager is object OpenLayers.Base.DeviceMgr dynamic&#13;
&#13;
dotnet_device_manager = new OpenLayers.Base.DeviceMgr()&#13;
&#13;
hardware_available_bool = dotnet_device_manager.HardwareAvailable()&#13;
&#13;
However the second line gives a syntax error for the dot between Base and DeviceMgr(). I have tried lots of different combinations with various different errors in the code and cannot think what else to try.&#13;
&#13;
Assembly can be downloaded from here:&#13;
&#13;
https://drive.google.com/file/d/0B9aImXqNxRxtNEpsZ3ZYeHNfT2c/view?usp=sharing&#13;
&#13;
&#13;
Any suggestions would be welcomed&#13;
&#13;
Matt</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp</link><title>[WD21] Using a .NET assembly</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>matthew.howard</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61854/read.awp</comments><pubDate>20 Jul 2017 14:59:43 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
I got an answer from PCsoft and what I needed was:&#13;
&#13;
hardware_available_bool is boolean &#13;
dotnet_device_mgr is o…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61854/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61854/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp">[WD21] Using a .NET assembly</source><title>Re: [WD21] Using a .NET assembly</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61790/read.awp</comments><pubDate>17 Jul 2017 17:25:00 Z</pubDate><description>Hi again,&#13;
&#13;
Not from the top of my head, no...&#13;
&#13;
For this kind of things, I do:&#13;
- read of the documentation&#13;
- translation of…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61790/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61790/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp">[WD21] Using a .NET assembly</source><title>Re: [WD21] Using a .NET assembly</title></item><item><author>matthew.howard</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61789/read.awp</comments><pubDate>17 Jul 2017 17:07:04 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
I tried your suggestion of  dotnet_device_mgr =  Base.DeviceMgr.Get()&#13;
&#13;
and get the following error:  	Error:The…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61789/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61789/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp">[WD21] Using a .NET assembly</source><title>Re: [WD21] Using a .NET assembly</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61744/read.awp</comments><pubDate>13 Jul 2017 17:29:42 Z</pubDate><description>and what about&#13;
&#13;
dotnet_device_mgr =  Base.DeviceMgr.Get() ?&#13;
&#13;
&#13;
Le 7/13/2017 à 9:08 AM, Matt Howard a écrit :&#13;
&gt; Thanks again…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61744/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61744/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp">[WD21] Using a .NET assembly</source><title>Re: [WD21] Using a .NET assembly</title></item><item><author>matthew.howard</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61743/read.awp</comments><pubDate>13 Jul 2017 17:08:04 Z</pubDate><description>Thanks again for the response.&#13;
&#13;
I tried your suggestion but got the following error.&#13;
&#13;
	Error:The use of DeviceMgr creates an…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61743/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61743/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp">[WD21] Using a .NET assembly</source><title>Re: [WD21] Using a .NET assembly</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61741/read.awp</comments><pubDate>13 Jul 2017 16:18:15 Z</pubDate><description>Hi Matt,&#13;
&#13;
I'm afraid I don't have the (free) time to go through a 435 pages &#13;
documentation...&#13;
&#13;
However, a quick search of D…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61741/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61741/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp">[WD21] Using a .NET assembly</source><title>Re: [WD21] Using a .NET assembly</title></item><item><author>matthew.howard</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61740/read.awp</comments><pubDate>13 Jul 2017 15:44:31 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
Thank you for the response.&#13;
&#13;
I think you could be write its just I cant seem to work out what I'm doing wrong (…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61740/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61740/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp">[WD21] Using a .NET assembly</source><title>Re: [WD21] Using a .NET assembly</title></item><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61737/read.awp</comments><pubDate>13 Jul 2017 14:13:42 Z</pubDate><description>Hi Matt,&#13;
&#13;
the proble is not in how to call a .net assembly, the problem is how &#13;
this specifc assembly want to be called, and …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61737/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61737/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp">[WD21] Using a .NET assembly</source><title>Re: [WD21] Using a .NET assembly</title></item><item><author>matthew.howard</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61725/read.awp</comments><pubDate>13 Jul 2017 09:56:36 Z</pubDate><description>So I'm still struggling with the above.&#13;
&#13;
The code I have at present is :&#13;
&#13;
dotnet_device_mgr is object OpenLayers.Base.Device…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61725/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly-61725/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61592-wd21-using-net-assembly/read.awp">[WD21] Using a .NET assembly</source><title>Re: [WD21] Using a .NET assembly</title></item></channel></rss>
