Microsoft KB Archive/186836

{|
 * width="100%"|

FI Processing Component for MIFST

 * }

Q186836

-

The information in this article applies to:


 * Microsoft Internet Finance Server Toolkit, versions 1.0, 1.01

-

SUMMARY
Fiproc.exe is a sample that provides a functioning starting point for an MIFST FI Processing component.

MORE INFORMATION
The following files are available for download from the Microsoft Download Center:

"Fiproc.exe" For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

"Q119591 How to Obtain Microsoft Support Files from Online Services" Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

This file contains files for a Visual C++ 5.0 project, which is a complete shell for an FI Processing component. The FI Processing component is discussed in section 3.3.2 of the MIFST Gateway Development Guide.

This sample has no useful functionality; it is merely a shell that can serve as a starting point for your own development efforts. Once registered properly with MIFST, this component displays a message box each time the Raw and Process functions are called. This allows you to verify that the component is being called by MIFST; the message boxes would never be used in a production component. In addition, the Raw function contains code that makes a copy of the incoming data, frees the original, and then returns the newly allocated data to the calling function. Any modifications that change the size of the string would need to be done in this manner.

To build the component, open the workspace in Visual C++ 5.0, then press F7. Certain header files and libraries from the MIFST SDK will be needed, so if you receive compiler or linker errors about missing files, you will need to make appropriate modifications to the Visual C++ include and library directories.

To register the component with MIFST, a .reg file (Fiproc.reg) is included. It adds the following value to the "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\OFX_Gateway" Registry key:

  "FI_Processing_Component"="{91275471-D16B-11D0-959B-0060975AE865}" This registry setting is necessary for MIFST to know that it should use this component. Standard COM registry modifications are taken care of when the component is built.