<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Windows Security and how it affects running generated code</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/11/09/491168.aspx</link><description>Here I described how VFP generates executable code and runs it for early and late binding COM clients and implementing COM interfaces. However, there is an important issue with generating and running executable code in the same process. A computer has</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Windows Security and how it affects running generated code</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/11/09/491168.aspx#491195</link><pubDate>Thu, 10 Nov 2005 10:58:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:491195</guid><dc:creator>Anonymous</dc:creator><description>According to the VirtualProtect documentation etc etc, you should ALWAYS mark memory you generate code into with the EXECUTE flag. How come Microsoft hasn't been following its own recommendations in the past, causing this ugly situation?</description></item><item><title>re: Windows Security and how it affects running generated code</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/11/09/491168.aspx#491230</link><pubDate>Thu, 10 Nov 2005 12:51:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:491230</guid><dc:creator>Tristan</dc:creator><description>DEP in XP SP2 is found in Control Panel - System Properties - Advanced Tab - Performance.  No idea why DEP is under Performance when it doesn't effect the performance.  </description></item><item><title>re: Windows Security and how it affects running generated code</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/11/09/491168.aspx#491247</link><pubDate>Thu, 10 Nov 2005 14:08:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:491247</guid><dc:creator>Andy Davies</dc:creator><description>OK Calvin, I'll bite: what are p2...p5 for?&lt;br&gt;&lt;br&gt;   AndyD   8-)#</description></item><item><title>re: Windows Security and how it affects running generated code</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/11/09/491168.aspx#491261</link><pubDate>Thu, 10 Nov 2005 15:00:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:491261</guid><dc:creator>Andy Davies</dc:creator><description>&amp;gt;OK Calvin, I'll bite: what are p2...p5 for?&lt;br&gt;OK - got it &amp;lt;doh&amp;gt;&lt;br&gt;&lt;br&gt;   AndyD   8-)#</description></item><item><title>Create multiple threads from within your application</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/11/09/491168.aspx#599111</link><pubDate>Tue, 16 May 2006 21:02:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:599111</guid><dc:creator>Calvin Hsia's WebLog</dc:creator><description>When I posted this Sample program to create multiple threads, I knew the inevitable follow-up question...</description></item><item><title>Specifying the size of the program cache</title><link>http://blogs.msdn.com/calvin_hsia/archive/2005/11/09/491168.aspx#634427</link><pubDate>Fri, 16 Jun 2006 22:00:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:634427</guid><dc:creator>Calvin Hsia's WebLog</dc:creator><description>A customer asked&lt;br&gt;1) Is it better to set it to 0 (Auto) or some &amp;amp;quot;larger&amp;amp;quot; number, such as -16 (1024kb).&amp;amp;amp;nbsp;...</description></item></channel></rss>