How do I port a 32bit plugin to 64bit?
Article Number: 000002146 - Last Modified: Jan 20, 2012
Using Visual Studio the article discusses how to port a 32 bit plugin you have created to run with 64 bit FME.
A C++ FME Plugin must be build in 64-bit in order to run with a 64-bit FME. As of FME 2012, 64-bit FME is fully supported and all C++ FME plug-ins should be available in 64-bit if possible. Converting an existing 32-bit plug-in is not hard to do using Visual Studios.
Getting Started
You will need:
-
A 64-bit FME. When installing, choose to install the Software Development Kit for FME.
-
A 64-bit environment in which to build the plug-in
-
Visual Studio 2008 or newer
-
Visual Studio 64-bit Components.
Porting a 32-bit Plugin
-
Create a 64-bit build configuration for your project. See this article by Microsoft for instructions.
-
Build your plug-in using this configuration.
-
Test the 64-bit plug-in thoroughly using the Advanced Testing guide provided in FMEPlugInSDK_Cpp.pdf.
-
This file is located in an installed FME at <FME>\pluginbuilder\samples\doc\FMEPlugInSDK_Cpp.pdf .
Troubleshooting
-
For common problems that occur when porting a program to 64-bit, see this article by Microsoft.
-
FMEPlugInSDK_Cpp.pdf contains tips on debugging plug-ins, including how to step into a plug-in using a debugger and how to use the FME logger to debug a plug-in.
|
Suggested Similar Articles