Initial Commit of the PDM project (ready for DWS migration)
This commit is contained in:
62
documentation/api_extracted/64bit.htm
Normal file
62
documentation/api_extracted/64bit.htm
Normal file
@@ -0,0 +1,62 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Writing 64-bit Add-ins</title>
|
||||
<meta name=MS-HKWD content="Add-ins, 64-bit">
|
||||
<meta name=MS-HKWD content="Add-ins, 32-bit">
|
||||
<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;}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1><span style="font-weight: normal; font-size: 7.5pt;">SOLIDWORKS PDM Professional API Help</span></h1>
|
||||
<h1>Writing 64-bit Add-ins</h1>
|
||||
<div class="Section1">
|
||||
<p>This topic shows how to create
|
||||
<span lang="EN-US" style='mso-ansi-language:EN-US'>add-ins for the 64-bit version of SOLIDWORKS PDM Professional.<br />
|
||||
</span></p>
|
||||
<P><SPAN lang="EN-US" style="mso-ansi-language: EN-US"><STRONG>64-bit .NET
|
||||
Add-ins</STRONG></SPAN></P>
|
||||
<P><SPAN lang="EN-US" style="mso-ansi-language: EN-US">You must
|
||||
use Microsoft Visual Studio 2005, or later, to create managed (.NET) DLL add-ins.
|
||||
The build target must be set to <b>Any CPU</b> for the DLL to load
|
||||
in both 32-bit and 64-bit hosts. Managed DLL add-ins are added to the
|
||||
vault using the <a href="AdminDlg.htm">Administration tool</a>.<br />
|
||||
</SPAN></P>
|
||||
<P><SPAN lang="EN-US" style="mso-ansi-language: EN-US"><STRONG>Native
|
||||
DLL Add-ins</STRONG></SPAN></P>
|
||||
<P><SPAN lang="EN-US" style="mso-ansi-language: EN-US">A native
|
||||
32-bit DLL cannot be loaded into a 64-bit EXE, and a 64-bit native DLL cannot be
|
||||
loaded into a 32-bit EXE. Because SOLIDWORKS PDM Professional gets loaded into both 32-
|
||||
and 64-bit processes, you must build two versions of your add-in, 32-bit and
|
||||
64-bit. </SPAN></P>
|
||||
<P><SPAN lang="EN-US" style="mso-ansi-language: EN-US">Native DLL
|
||||
add-ins that are added to the vault on a 64-bit machine also work on a 32-bit
|
||||
machine:</SPAN></P>
|
||||
<ol style="font-family: Verdana; font-size: 8pt">
|
||||
<li>Right-click<SPAN lang="EN-US" style="mso-ansi-language: EN-US"> the
|
||||
<b>Add-ins</b>
|
||||
node in the Administration tool.</SPAN></li>
|
||||
<li><SPAN lang="EN-US" style="mso-ansi-language: EN-US">Select
|
||||
<EM style="font-style: normal; font-weight: 700">New</EM>
|
||||
<b>Add-in</b>.</SPAN></li>
|
||||
<li>Navigate to and open<SPAN lang="EN-US" style="mso-ansi-language: EN-US">
|
||||
the 64-bit add-in DLL.</SPAN></li>
|
||||
<li>In the Properties dialog, select <b>Files</b> in the left pane.</li>
|
||||
<li>Click<SPAN lang="EN-US" style="mso-ansi-language: EN-US">
|
||||
<EM style="font-style: normal; font-weight: 700">Add Files</EM>.</SPAN></li>
|
||||
<li>Navigate to and open<SPAN lang="EN-US" style="mso-ansi-language: EN-US"> the 32-bit add-in DLL.</SPAN></li>
|
||||
<li>Click <SPAN lang="EN-US" style="mso-ansi-language: EN-US"><b>OK</b>.</SPAN></li>
|
||||
</ol>
|
||||
<P><SPAN lang="EN-US" style="mso-ansi-language: EN-US">SOLIDWORKS PDM Professional creates a single add-in package that contains both 32-bit and 64-bit versions of the add-in. The 32-bit version is loaded
|
||||
in 32-bit processes, and the 64-bit version is loaded in 64-bit processes.</SPAN></P>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user