SAMPLE: FI Processing Component for MIFST

ID: Q186836

The information in this article applies to:

SUMMARY

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

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ Fiproc.exe (size: 64087 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE : How to Obtain Microsoft Support Files from Online Services

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.

REFERENCES

MIFST Gateway Development Guide

Additional query words: kbDSupport kbdsi

Technology        : kbInetDev
Version           : WINDOWS:1.0,1.01
Platform          : WINDOWS

Last Reviewed: June 8, 1998