<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>28 Aug 2017 21:41:00 Z</lastBuildDate><pubDate>26 Aug 2017 19:58:00 Z</pubDate><description>Hi,&#13;
&#13;
I'm trying call a procedure in a .NET DLL and am getting the following error.&#13;
&#13;
Error at line 1 of Click BTN_Open_Device process.&#13;
Unable to create object ( assembly)&#13;
&#13;
----- Technical Information -----&#13;
&#13;
Project : Tourcube&#13;
&#13;
WL call:&#13;
Process of 'Click BTN_Open_Device' (WINTest_Magtek.BTN_Open_Device), line 1, thread 0&#13;
&#13;
What happened?&#13;
Unable to create object ( assembly)&#13;
&#13;
Error code: 200005&#13;
Level: fatal error (EL_FATAL)&#13;
&#13;
Dump of the error of 'wd200net4.dll' module (20.0.8.0).&#13;
Identifier of detailed information (.err): 200004&#13;
Additional Information:&#13;
EIT_PILEWL :&#13;
Click BTN_Open_Device (WINTest_Magtek.BTN_Open_Device), line 1&#13;
EIT_DATEHEURE : 26/08/2017 10:50:56&#13;
&#13;
Help&#13;
&#13;
&#13;
I imported the DLL into my project into the .Net assembles area and it seemed to come in fine.&#13;
&#13;
My code to call the procedure looks like this.&#13;
&#13;
clMagtek is object MTPPSCRA&#13;
&#13;
sModel is string=clMagtek.getDeviceModel()&#13;
&#13;
Info(sModel)&#13;
&#13;
Any ideas as to what might be going on? Things I'm missing. I don't typically use external .NET DLL's in my application (or object oriented methods) so I don't have a lot of experience with these things.&#13;
&#13;
Any help would be greatly appreciated.&#13;
&#13;
I am using WD 20 and the the DLL is used to connect to an external keypad device.&#13;
&#13;
Thanks!&#13;
&#13;
Steve</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll/read.awp</link><title>Error trying to call .NET DLL</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/62420-error-trying-call-net-dll-solved-62438/read.awp</comments><pubDate>28 Aug 2017 21:41:00 Z</pubDate><description>Hi Peter,&#13;
&#13;
The original problem was that I had copied the DLL's into the project directory rather than the EXE directory, than…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-solved-62438/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-solved-62438/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll/read.awp">Error trying to call .NET DLL</source><title>Re: Error trying to call .NET DLL (solved)</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-62429/read.awp</comments><pubDate>28 Aug 2017 08:25:00 Z</pubDate><description>Hi Steve,&#13;
&#13;
It's not at instantiation as that always works. It is when doing a call to a method that returns something pretty c…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-62429/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-62429/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll/read.awp">Error trying to call .NET DLL</source><title>Re: Error trying to call .NET DLL</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-62426/read.awp</comments><pubDate>27 Aug 2017 21:09:00 Z</pubDate><description>Quote&#13;
Peter Holemans&#13;
&#13;
Hi Steve,&#13;
&#13;
&#13;
&#13;
Not sure it is related but the use of .Net assemblies has (in contradiction to the mar…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-62426/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-62426/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll/read.awp">Error trying to call .NET DLL</source><title>Re: Error trying to call .NET DLL</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-62425/read.awp</comments><pubDate>27 Aug 2017 20:07:00 Z</pubDate><description>Hi Steve,&#13;
&#13;
Not sure it is related but the use of .Net assemblies has (in contradiction to the marketing) many limitations.&#13;
If…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-62425/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll-62425/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/62420-error-trying-call-net-dll/read.awp">Error trying to call .NET DLL</source><title>Re: Error trying to call .NET DLL</title></item></channel></rss>
