<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://stlab.adobe.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://stlab.adobe.com/wiki/index.php?title=Troubleshooting&amp;feed=atom&amp;action=history</id>
		<title>Troubleshooting - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://stlab.adobe.com/wiki/index.php?title=Troubleshooting&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://stlab.adobe.com/wiki/index.php?title=Troubleshooting&amp;action=history"/>
		<updated>2013-05-19T11:43:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>http://stlab.adobe.com/wiki/index.php?title=Troubleshooting&amp;diff=1416&amp;oldid=prev</id>
		<title>FosterBrereton: initial population</title>
		<link rel="alternate" type="text/html" href="http://stlab.adobe.com/wiki/index.php?title=Troubleshooting&amp;diff=1416&amp;oldid=prev"/>
				<updated>2006-06-21T18:23:42Z</updated>
		
		<summary type="html">&lt;p&gt;initial population&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Issues Surrounding MSVC 8.0's &amp;quot;Safe&amp;quot; Libraries==&lt;br /&gt;
&lt;br /&gt;
ASL does not support the non-standard &amp;quot;Safe&amp;quot; C and C++ libraries shipping with Visual C++ 8.0. This may result in many spurious warnings from ASL, Boost, and other standards-conforming C and C++ libraries. To suppress these warnings, define the macros&lt;br /&gt;
* &amp;lt;code&amp;gt;_CRT_SECURE_NO_DEPRECATE&amp;lt;/code&amp;gt;, and&lt;br /&gt;
* &amp;lt;code&amp;gt;_SCL_SECURE_NO_DEPRECATE&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MSVC command-line settings to define these macros is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
\D_CRT_SECURE_NO_DEPRECATE \D_SCL_SECURE_NO_DEPRECATE&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The ASL header file &amp;lt;code&amp;gt;&amp;lt;adobe/config.hpp&amp;gt;&amp;lt;/code&amp;gt; includes checks when compiling with MSVC 8.0 to make sure these macros are defined. To disable this check, define the following macro before including &amp;lt;code&amp;gt;&amp;lt;adobe/config.hpp&amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;\DADOBE_TEST_MICROSOFT_NO_DEPRECATE=0&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Problems Building ASL==&lt;br /&gt;
&lt;br /&gt;
===On Windows===&lt;br /&gt;
&lt;br /&gt;
====Building Adobe Begin for Non-Development Machines====&lt;br /&gt;
&lt;br /&gt;
When an app is built using a version of MSVC, that version of&lt;br /&gt;
Microsoft's Runtimes Libraries must be 'findable' by the OS in order to&lt;br /&gt;
launch the application. Part of Microsoft's solution to this problem&lt;br /&gt;
includes the embedding of an application manifest file into the&lt;br /&gt;
application. On development machines, these files are automatically&lt;br /&gt;
installed in C:\WINDOWS\system32\. The manifest file describes the&lt;br /&gt;
binary's dependencies to external DLLs, and the OS reads the file and&lt;br /&gt;
hunts down the dependencies to load them. In a clean-install XP system,&lt;br /&gt;
the Runtime Libraries for MSVC 7.0, 7.1, and 8 don't exist, which will&lt;br /&gt;
lead ultimately to the failure to launch applications built with these&lt;br /&gt;
compilers on non-development machines.&lt;br /&gt;
&lt;br /&gt;
Our current workaround to this problem is to *not* embed the manifest&lt;br /&gt;
file in the binary directly, but leave it as a sibling to the app. Then the&lt;br /&gt;
necessary runtime libraries must also be placed as siblings to the app,&lt;br /&gt;
along with a manifest file describing them to the OS. For some reason&lt;br /&gt;
both of these steps are required, and then the app will run in a clean&lt;br /&gt;
XP installation. Note that this bug wasn't caught for a long time&lt;br /&gt;
because these runtime libraries were automatically found when smoke&lt;br /&gt;
testing the apps. (A big thanks goes to Ken Silver for being the first&lt;br /&gt;
one report Adobe Begin failing to load on his machine, which isn't set&lt;br /&gt;
up for development.)&lt;/div&gt;</summary>
		<author><name>FosterBrereton</name></author>	</entry>

	</feed>