Initial Commit of the PDM project (ready for DWS migration)
This commit is contained in:
64
documentation/api_extracted/Vista.htm
Normal file
64
documentation/api_extracted/Vista.htm
Normal file
@@ -0,0 +1,64 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>C++ Add-ins and Windows Vista</title>
|
||||
<meta name=MS-HKWD content="Add-ins, C++">
|
||||
<meta name=MS-HKWD content="Add-ins, Windows Vista">
|
||||
<meta name=MS-HKWD content="Windows Vista">
|
||||
<meta name=MS-HKWD content="C++, Windows Vista">
|
||||
<meta http-equiv="Content-Language" content="en-us">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<link rel="stylesheet" type="text/css" href="ApiHelp.css">
|
||||
<style>
|
||||
<!--
|
||||
div.Section1
|
||||
{page:Section1;}
|
||||
div.stage
|
||||
{
|
||||
width: 1024px;
|
||||
}
|
||||
div.stage { padding: 0px 40px; width: 984px; } div.stage-content { padding: 0px; }-->
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1><span style="font-weight: normal; font-size: 7.5pt;">SOLIDWORKS PDM Professional API Help</span></h1>
|
||||
<h1>C++ Add-ins and Windows Vista</h1>
|
||||
|
||||
|
||||
|
||||
<p> Add-ins written in .NET should work in Windows Vista. However, native
|
||||
add-ins written in C++ that register type libraries might encounter problems.
|
||||
The Windows Vista operating system has a limitation that prevents registration
|
||||
of such add-ins. </p>
|
||||
<p> <span style="font-size: 8pt"><br />If you do not need the type library, the
|
||||
best solution is to remove its registration from the code. Do this in C++ by setting the <strong>bRegTypeLib</strong>
|
||||
argument to <strong>FALSE </strong>in CAtlDllModuleT::DllRegisterServer()
|
||||
and CAtlDllModuleT::DLLUnregisterServer():</span></p>
|
||||
<blockquote>
|
||||
<p class="APICODE"><br /><span style="font-size: 10pt; font-family: Courier New">
|
||||
<span style="color: #009900">// DllRegisterServer - Adds entries to the system registry<br />
|
||||
</span>STDAPI DllRegisterServer(void)<br />{<br />
|
||||
AFX_MANAGE_STATE(AfxGetStaticModuleState());<br />
|
||||
<span style="color: #009900">// registers object<br /></span>
|
||||
HRESULT hr = _AtlModule.DllRegisterServer( <strong>
|
||||
<span style="color: #ff0000;
|
||||
background-color: yellow">FALSE</span></strong> );<br />
|
||||
return hr;<br />}<br /><br /><br /><span style="color: #009900">// DllUnregisterServer - Removes entries from the system registry<br />
|
||||
</span>STDAPI DllUnregisterServer(void)<br />{<br />
|
||||
AFX_MANAGE_STATE(AfxGetStaticModuleState());<br />
|
||||
HRESULT hr = _AtlModule.DllUnregisterServer( <strong>
|
||||
<span style="color: #ff0033;
|
||||
background-color: yellow">FALSE</span></strong> );<br />
|
||||
return hr;<br />}</span></p>
|
||||
</blockquote>
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user