<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>8 Jul 2017 17:16:00 Z</lastBuildDate><pubDate>8 Jul 2017 16:18:00 Z</pubDate><description>Hi all,&#13;
&#13;
Anyone succeeded in using HDeclareExternal on an Android Device ?&#13;
&#13;
This is the code I use. Runs OK in the simulator, but on the device I get just a message " is stopped" without any further information. First, I do get the "Connection OK" message, so making the connection is OK.&#13;
&#13;
Thx,&#13;
Bart&#13;
&#13;
ds is Data Source&#13;
r is boolean&#13;
Conn is Connection&#13;
&#13;
Conn..User = "myUserName"&#13;
Conn..Password = "myPassword"&#13;
Conn..Server = "192.168.0.128"&#13;
Conn..Database = "myDB"&#13;
Conn..Provider = hAccessHFClientServer&#13;
Conn..Access = hOReadWrite&#13;
&#13;
IF NOT HOpenConnection(Conn) THEN&#13;
Error(HErrorInfo())&#13;
RETURN&#13;
ELSE&#13;
Info("Connection OK")&#13;
END&#13;
&#13;
r= HDeclareExternal("./Artikel.FIC","ds","conn")&#13;
IF NOT r THEN&#13;
Error(HErrorInfo())&#13;
HCloseConnection(Conn)&#13;
RETURN&#13;
END&#13;
&#13;
HReadFirst(ds)&#13;
Info(ds.oms)&#13;
HCancelDeclaration(ds)&#13;
HCloseConnection(Conn)</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61616-wm22-hdeclareexternal/read.awp</link><title>[WM22] HdeclareExternal</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/61616-wm22-hdeclareexternal-61642/read.awp</comments><pubDate>8 Jul 2017 17:16:00 Z</pubDate><description>Hi Fabrice,&#13;
&#13;
Found the solution. The problem was the alias I've used in HDeclareExternal.&#13;
Now I use as alias the real name of…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61616-wm22-hdeclareexternal-61642/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61616-wm22-hdeclareexternal-61642/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61616-wm22-hdeclareexternal/read.awp">[WM22] HdeclareExternal</source><title>Re: [WM22] HdeclareExternal</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61616-wm22-hdeclareexternal-61640/read.awp</comments><pubDate>8 Jul 2017 16:40:00 Z</pubDate><description>Hi Bart&#13;
&#13;
WHERE is your file?&#13;
&#13;
I suspect that the "./" may be your problem under android.&#13;
&#13;
Best regards</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61616-wm22-hdeclareexternal-61640/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61616-wm22-hdeclareexternal-61640/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/61616-wm22-hdeclareexternal/read.awp">[WM22] HdeclareExternal</source><title>Re: [WM22] HdeclareExternal</title></item></channel></rss>
