⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 application_licensing.htm

📁 acis说明文档
💻 HTM
📖 第 1 页 / 共 3 页
字号:
</dd></dl><blockquote class="templatequote"><div><p><i><b>Note:</b> The SPALicErrGUI.dll library is not required if you do not use the Spatial-supplied error GUI. Make certain that you comment out the lines shown in step 4 to prevent this DLL from being linked into your application.</i></p></div></blockquote><blockquote><b>REMINDER!</b> - The most significant lines of code from the <code>unlock_spatial_products()</code> function are <code>unlock_str</code> and   <code>spa_unlock_products()</code>. These lines <i>must</i> be called before any Spatial product APIs are called. As long as these lines of code are executed somewhere in your application, then using the customized function becomes irrelevant (for example, you may cut and paste the code to another location).</blockquote><a name="Troubleshooting_When_the_Unlock_Process_Fails"></a><h1> <span class="mw-headline"> Troubleshooting When the Unlock Process Fails </span></h1><p>If <code>spa_unlock_products()</code> returns <code>SPA_UNLOCK_PASS_WARN</code> or <code>SPA_UNLOCK_FAIL</code>, you may retrieve more details concerning the nature of the warning or error from the returned  spa_unlock_result object.</p><p>The <code>get_error_no()</code> method returns the most severe error or warning encountered during validation in the form of a   spa_unlock_errmsg enumeration value. The corresponding text message may be retrieved using the <code>get_message_text()</code> method. When validation produces a warning or error related to the expiration date of a license, use the get_num_days() method to determine the number of days until expiration. If a key has already expired, then the returned value is negative.</p><p>The <code>get_log_info()</code> method returns a string containing information that can be saved to a file and sent to Spatial for debugging.</p><p>The <code>unlock_spatial_products_&lt;ALKIndex&gt;()</code> function returned from the Spatial server contains a default implementation of error handling. The   spa_unlock_products() function is passed into a simple error window object that displays the warning or error message to the end user. If an unlock error occurs, then you may choose the option to save a log file and send it to Spatial for debugging.</p><p>You most likely will implement your own means to notify your end users concerning the outcome of the call to   spa_unlock_products(). If desired, the code defining <code>unlock_spatial_products_&lt;ALKIndex&gt;()</code> may be modified to return the outcome of the unlocking process to its calling function by commenting out the following #include and function call:</p><pre class="source-cpp"><span class="kw2">#include</span> <span class="st0">&quot;spa_lic_err_gui.hxx&quot;</span> ... <span class="me1">spa_display_error_gui</span><span class="br0">&#40;</span>out<span class="br0">&#41;</span>;</pre><!-- Tidy found serious XHTML errors --><!-- Saved in parser cache with key r18_docdb-r18doc_:pcache:idhash:436-0!1!0!!en!2!edit=0 and timestamp 20080624033011 --><div class="printfooter">Retrieved from "<a href="http://doc.spatial.com/r18/index.php/Application_Licensing">http://doc.spatial.com/r18/index.php/Application_Licensing</a>"</div>			<div id="catlinks"><p class='catlinks'><a href="/r18/index.php/Special:Categories" title="Special:Categories">Categories</a>: <span dir='ltr'><a href="/r18/index.php/Category:ACIS_Getting_Started" title="Category:ACIS Getting Started">ACIS Getting Started</a></span> | <span dir='ltr'><a href="/r18/index.php/Category:ACIS_Docs" title="Category:ACIS Docs">ACIS Docs</a></span></p></div>			<!-- end content -->
			<div class="visualClear"></div>
		</div>
	</div>
		</div>
		<div id="column-one">
	<div id="p-cactions" class="portlet">
		<h5>Views</h5>
		<div class="pBody">
			<ul>
					 <li id="ca-nstab-main" class="selected"><a href="/r18/index.php/Application_Licensing" title="View the content page [c]" accesskey="c">Article</a></li>
					 <li id="ca-talk" class="new"><a href="/r18/index.php?title=Talk:Application_Licensing&amp;action=edit" title="Discussion about the content page [t]" accesskey="t">Discussion</a></li>
					 <li id="ca-viewsource"><a href="/r18/index.php?title=Application_Licensing&amp;action=edit" title="This page is protected. You can view its source. [e]" accesskey="e">View source</a></li>
					 <li id="ca-history"><a href="/r18/index.php?title=Application_Licensing&amp;action=history" title="Past versions of this page. [h]" accesskey="h">History</a></li>
				</ul>
		</div>
	</div>
	<div class="portlet" id="p-personal">
		<h5>Personal tools</h5>
		<div class="pBody">
			<ul>
				<li id="pt-login"><a href="/r18/index.php?title=Special:Userlogin&amp;returnto=Application_Licensing" title="You are encouraged to log in, it is not mandatory however. [o]" accesskey="o">Log in / create account</a></li>
			</ul>
		</div>
	</div>
	<div class="portlet" id="p-logo">
		<a style="background-image: url(/r18/images/SpatialCorpLogo.gif);" href="/r18/index.php/Main_Page" title="Visit the Main Page [z]" accesskey="z"></a>
	</div>
	<script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
		<div class='portlet' id='p-navigation'>
		<h5>Navigation</h5>
		<div class='pBody'>
			<ul>
				<li id="n--Home"><a href="http://doc.spatial.com/ "> Home</a></li>
				<li id="n-mainpage"><a href="/r18/index.php/Main_Page" title="Visit the Main Page [z]" accesskey="z">Main Page</a></li>
				<li id="n-recentchanges"><a href="/r18/index.php/Special:Recentchanges" title="The list of recent changes in the wiki. [r]" accesskey="r">Recent changes</a></li>
				<li id="n-randompage"><a href="/r18/index.php/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li>
				<li id="n-help"><a href="/r18/index.php/Help:Contents" title="The place to find out.">Help</a></li>
			</ul>
		</div>
	</div>
		<div class='portlet' id='p-spatial_sites'>
		<h5>spatial sites</h5>
		<div class='pBody'>
			<ul>
				<li id="n--Spatial.com"><a href="http://www.spatial.com "> Spatial.com</a></li>
				<li id="n---Online-Support-Center"><a href="http://spatial.custhelp.com/cgi-bin/spatial.cfg/php/enduser/acct_login.php?p_sid=tblNMDHh&amp;p_lva=&amp;p_sp=&amp;p_li=&amp;p_next_page=std_alp.php">  Online Support Center</a></li>
				<li id="n--Community-Forum"><a href="http://forums.spatial.com/ "> Community Forum</a></li>
				<li id="n--Downloads"><a href="http://www.spatial.com/products/download.html "> Downloads</a></li>
				<li id="n--Feedback"><a href="mailto:docfeedback_spatial@3ds.com "> Feedback</a></li>
			</ul>
		</div>
	</div>
		<div class='portlet' id='p-products'>
		<h5>products</h5>
		<div class='pBody'>
			<ul>
				<li id="n-ACIS-Tutorials---Beta"><a href="/r18/index.php/Tutorial:ACIS_Tutorials">ACIS Tutorials - Beta</a></li>
				<li id="n-InterOp"><a href="/r18/index.php/Portal:InterOp">InterOp</a></li>
			</ul>
		</div>
	</div>
		<div id="p-search" class="portlet">
		<h5><label for="searchInput">Search</label></h5>
		<div id="searchBody" class="pBody">
			<form action="/r18/index.php/Special:Search" id="searchform"><div>
				<input id="searchInput" name="search" type="text" title="Search DocR18 [f]" accesskey="f" value="" />
				<input type='submit' name="go" class="searchButton" id="searchGoButton"	value="Go" />&nbsp;
				<input type='submit' name="fulltext" class="searchButton" id="mw-searchButton" value="Search" />
			</div></form>
		</div>
	</div>
	<div class="portlet" id="p-tb">
		<h5>Toolbox</h5>
		<div class="pBody">
			<ul>
				<li id="t-whatlinkshere"><a href="/r18/index.php/Special:Whatlinkshere/Application_Licensing" title="List of all wiki pages that link here [j]" accesskey="j">What links here</a></li>
				<li id="t-recentchangeslinked"><a href="/r18/index.php/Special:Recentchangeslinked/Application_Licensing" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li>
<li id="t-specialpages"><a href="/r18/index.php/Special:Specialpages" title="List of all special pages [q]" accesskey="q">Special pages</a></li>
				<li id="t-print"><a href="/r18/index.php?title=Application_Licensing&amp;printable=yes" title="Printable version of this page [p]" accesskey="p">Printable version</a></li>				<li id="t-permalink"><a href="/r18/index.php?title=Application_Licensing&amp;oldid=1149" title="Permanent link to this version of the page">Permanent link</a></li>			</ul>
		</div>
	</div>
		</div><!-- end of the left (by default at least) column -->
			<div class="visualClear"></div>
			<div id="footer">
				<div id="f-poweredbyico"><a href="http://www.mediawiki.org/"><img src="/r18/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" /></a></div>
        <ul> 
            <li>&copy 1999-2008 Spatial Corp.</li>
            <li> Please send feedback to <a href="mailto:docfeedback_spatial@3ds.com">docfeedback_spatial@3ds.com</a> or just <a href="../index.php?title=Special:Userlogin&returnto=Special:Userlogout">login</a> and start editing the comments page.</li>
        </ul>

        <ul id="f-list">
				<li id="lastmod"> This page was last modified 16:05, 23 May 2008.</li>

				<li id="viewcount">This page has been accessed 28 times.</li>

                <li> <a href="../index.php/Project:Terms_of_Use">Terms of Use</a> </li>
                <li> <a href="../index.php/Project:Privacy_policy">Privacy Policy</a> </li>
			</ul>
		</div>
		
			<script type="text/javascript">if (window.runOnloadHook) runOnloadHook();</script> <script type='text/javascript' src='/r18/javascript_form/getXterlinks.js'></script> <script type='text/javascript'>getXterlinks()</script></div>
<!-- Served in 0.209 secs. --></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -