<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>AGSI DLL can NOT work in V6.21 or higher</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/14883/agsi-dll-can-not-work-in-v6-21-or-higher</link><description> I wrote an AGSI DLL, it works well in V6.14, but it can NOT work in V6.21 or higher version. What&amp;#39;s wrong? 
 
In AgsiEntry, even I just return 0, it still fails. 
 
 
extern &amp;quot;C&amp;quot; DWORD AGSIAPI AgsiEntry (DWORD nCode, void *vp)
{
 return 0; // return fail</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: AGSI DLL can NOT work in V6.21 or higher</title><link>https://community.arm.com/thread/54500?ContentTypeID=1</link><pubDate>Sun, 18 Aug 2002 04:35:31 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dc3556e1-6dd1-41ec-ba05-6a796edef4f6</guid><dc:creator>Archie Zhang</dc:creator><description>&lt;p&gt;Hi Hans,&lt;br /&gt;
&lt;br /&gt;
I think I found the root that cause the crash. When I define an AGSIMENU, the nDlgId item must be unique and must be non-zero. If it is zero, the debugger will crash.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Archie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: AGSI DLL can NOT work in V6.21 or higher</title><link>https://community.arm.com/thread/38927?ContentTypeID=1</link><pubDate>Mon, 08 Jul 2002 01:41:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d1d06fa7-6de4-4b88-974d-bdd371ee033c</guid><dc:creator>Hans Schneebauer</dc:creator><description>&lt;p&gt;The AGSI interface has been revised and extended between these two versions.  However, this should &lt;b&gt;not&lt;/b&gt; lead to incompatibilities.&lt;br /&gt;
  &lt;br /&gt;
You return the wrong value in AgsiEntry. 0 (FALSE) means that there is an error and the AGSI DLL should be dropped.  You have to return 1 (TRUE) to indicate that your DLL has executed the function successfully.&lt;br /&gt;
&lt;br /&gt;
Maybe the return value has not been checked in the past but the specification has not changed in this respect.&lt;br /&gt;
&lt;br /&gt;
If you can&amp;#39;t find the problem, please let me know.&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>