Build the CATIA V5 Custom DLL
In order to build a CATIA V5 specific DLL:
Microsoft Visual Studio 2012 is required when building the CATIA V5 specific DLL.
You must install and configure CATIA, CAA and RADE tools. Build the CAA DLL using standard RADE tools.
For building the provided sample, edit the Build.cmd located in the %WWGMTK_INSTALL_DIR%\examples\wwgmtk_catia_demos toolkit directory.
Modify the following variables according to the required CATIA release and platform:
set BUILD_VERSION=24 (specify required CATIA release here either 21 or 22, etc.)
set _MkmkOS_BitMode=64 (specify either 32 or 64 here)
Run Build.cmd.
Ensure the build is successful and that PTCWGMTK.dll is created in %WWGMTK_INSTALL_DIR%\examples\wwgmtk_catia_demos directory.
* 
To remove dependencies on PTC libraries, from the make (.mk) file, the following library files have been removed:
baselibmtz.lib
cipsoapmtz.lib
cipstdmtz.lib
rtlcoremtz.lib
The signature of the method that could be invoked through Windchill Workgroup Manager Toolkit was modified to use only standard ‘stl’ types, as shown in the following example:
void method_to_call (const map<wstring,wstring>& in, map<wstring,wstring>& out)
這是否有幫助?