<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Scirra Forum : Troubleshooting Expression in Plugin</title>
  <link>http://www.scirra.com/forum/</link>
  <description>This is an XML content feed of; Scirra Forum : Construct engineering : Troubleshooting Expression in Plugin</description>
  <copyright>Copyright (c) 2006-2011 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 22 May 2013 01:15:40 +0000</pubDate>
  <lastBuildDate>Sat, 23 Apr 2011 17:44:17 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 10.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.scirra.com/forum/RSS_post_feed.asp?TID=42546</WebWizForums:feedURL>
  <image>
   <title>Scirra Forum</title>
   <url>http://www.scirra.com/forum/forum_images/web_wiz_forums.png</url>
   <link>http://www.scirra.com/forum/</link>
  </image>
  <item>
   <title>Troubleshooting Expression in Plugin : ok, i figured out the problem...</title>
   <link>http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546_post264169.html#264169</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="../users/scidave">scidave</a><br /><strong>Subject:</strong> 42546<br /><strong>Posted:</strong> 23 Apr 2011 at 5:44pm<br /><br />ok, i figured out the problem with the plugin.  It might have just been a stupid error (not selecting &quot;use expression&quot;) but I now successfully am using it.   <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> <br /><br />Still having the problem with building in release mode.  The runtime portion of the plugin is still getting an error as mentioned below.<br /><br />p.s.  Are there any instructions on debugging a plugin at runtime?]]>
   </description>
   <pubDate>Sat, 23 Apr 2011 17:44:17 +0000</pubDate>
   <guid isPermaLink="true">http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546.html</guid>
  </item> 
  <item>
   <title>Troubleshooting Expression in Plugin : Think I might be narrowing down...</title>
   <link>http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546_post264166.html#264166</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="../users/scidave">scidave</a><br /><strong>Subject:</strong> 42546<br /><strong>Posted:</strong> 23 Apr 2011 at 4:25pm<br /><br />Think I might be narrowing down at least the runtime/release build error for GetInfo.<br /><br />In internal.hpp  the function is defined, but it has this config macro<br />// EDITTIME<br />#ifndef RUN_ONLY<br /><br />And the function below is grayed out.<br /><br />void WINAPI GetInfo(LPOINFO objectInfo) <br />{<br />	objectInfo-&gt;MinimumVersion	= MINIMUM_VERSION;<br />	objectInfo-&gt;ideFlags		= IDE_FLAGS;<br />}<br /><br />Still not sure why it compiles fine under debug mode.<br /><br />What does it mean in Visual Studio when there is a tiny little red circle with a minus sign sitting over the file name in the solution explorer?  I'm using Visual Studio Pro 2010 and the project I coverted over was the MFC visual studio 2005 solution.]]>
   </description>
   <pubDate>Sat, 23 Apr 2011 16:25:39 +0000</pubDate>
   <guid isPermaLink="true">http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546.html</guid>
  </item> 
  <item>
   <title>Troubleshooting Expression in Plugin : Thanks Lucid for the details....</title>
   <link>http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546_post264154.html#264154</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="../users/scidave">scidave</a><br /><strong>Subject:</strong> 42546<br /><strong>Posted:</strong> 23 Apr 2011 at 1:01pm<br /><br />Thanks Lucid for the details.  Unfortunately, everything still looks ok.  On a separate note, I am getting an error when building for release mode (something about&#058;<br />ConstructSDK.def : error LNK2001: unresolved external symbol GetInfo<br />Release/ConstructSDK.lib : fatal error LNK1120: 1 unresolved externals<br /><br />The whole debug/runtime/release mode settings for output and linker confuse the heck out of me.  I still get a warning about output path being different than linker path even though they all seem to be the same.  It compiles fine under the &quot;Debug&quot; build option.<br /><br />I zipped up the relevant source files if you have time to take a look: <br /><a rel="nofollow"  href="http://www.box.net/shared/dmdy4r6qta">http://www.box.net/shared/dmdy4r6qta</a><br /><br />I'm at a loss at this point how to debug this.  Is there a way to be able to debug the execution of this plugin?]]>
   </description>
   <pubDate>Sat, 23 Apr 2011 13:01:03 +0000</pubDate>
   <guid isPermaLink="true">http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546.html</guid>
  </item> 
  <item>
   <title>Troubleshooting Expression in Plugin : it might have something to do...</title>
   <link>http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546_post264136.html#264136</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="../users/lucid">lucid</a><br /><strong>Subject:</strong> 42546<br /><strong>Posted:</strong> 23 Apr 2011 at 7:43am<br /><br />it might have something to do with ACETABLE.cpp, if you paste the code I can tell your for sure if it does, just the part relating to that expression.  If it is the problem, you can probably figure out from this:  the ADDEXP relating to the get color, check number 3 below, but here's a breakdown on the others as well, I don't remember if the tutorial went in detail:<br /><br />&#091;size=85:3scnhft6&#093;<strong><br />&#091;code:3scnhft6&#093;ADDEXP(&quot;My expression&quot;, &quot;My category&quot;, &quot;MyExpression&quot;, &amp;ExtObject::eMyExpression, RETURN_INTEGER);&#091;/code:3scnhft6&#093;</strong>&#091;/size:3scnhft6&#093;<br />	&#091;list=1:3scnhft6&#093;<br />&#091;*:3scnhft6&#093;&quot;My expression&quot; should be what you see when in the Add Expression dialogue in the editor<br />&#091;/*:m:3scnhft6&#093;<br />&#091;*:3scnhft6&#093;&quot;My category&quot; is the category it's under<br />&#091;/*:m:3scnhft6&#093;<br />&#091;*:3scnhft6&#093;&quot;MyExpression&quot; is what you actually have to type to use the expression, like &quot;Angle&quot; is what is here in the sprite plugin's sprite.angle expression.  not case-sensitive.  Checking if this is an empty string is probably where I'd first look, or if it was invalid with a space or something that wouldn't work in construct.<br />&#091;/*:m:3scnhft6&#093;<br />&#091;*:3scnhft6&#093; &amp;ExtObject::eMyExpression is a pointer to the c++ function that actually returns the value at runtime for this expression<br />&#091;/*:m:3scnhft6&#093;<br />&#091;*:3scnhft6&#093; RETURN_INTEGER is the return type of the c++ function.  RETURN_STRING, or RETURN_FLOAT are two more valid constants, if you right-click - go to deceleration in visual studio on any one of these, you can see a full list.&#091;/*:m:3scnhft6&#093;&#091;/list:o:3scnhft6&#093;<br /><br />if it's not this, it's probably not to do with the ace_table, but I'd suggest checking number 3 before moving on to other troubleshooting]]>
   </description>
   <pubDate>Sat, 23 Apr 2011 07:43:29 +0000</pubDate>
   <guid isPermaLink="true">http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546.html</guid>
  </item> 
  <item>
   <title>Troubleshooting Expression in Plugin : I just built-up the example plugin...</title>
   <link>http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546_post264128.html#264128</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="../users/scidave">scidave</a><br /><strong>Subject:</strong> 42546<br /><strong>Posted:</strong> 23 Apr 2011 at 3:53am<br /><br />I just built-up the example plugin to get started learning how to write these.  Everything compiled fine and I was able to load the plugin with Construct.<br /><br />Then I followed all the steps in the tutorial to build the color gradient plugin with the setcolors actions and getcolor expression.  The problem is when I select &quot;Get Color&quot; from the expression box nothing happens and the window just closes.  Any ideas on what I'm doing wrong?  I can't find any mistakes in the code.]]>
   </description>
   <pubDate>Sat, 23 Apr 2011 03:53:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.scirra.com/forum/troubleshooting-expression-in-plugin_topic42546.html</guid>
  </item> 
 </channel>
</rss>