Previous in Contents Next in Contents

Using Visual C++

After modifying the files previously listed, you are ready to build your own Other Card DLL. The OtherCard.mak file is a MVisual C++ makefile that you can use to build a sample Other Card component. If you use this makefile to build your Other Card DLL, you must change all references to OtherCard to the name of the credit card you are building. It is recommended, however, that you let Developer Studio create a makefile for you by creating a new Developer Studio project workspace.

To create a makefile
  1. Copy the files in the Simple directory to the directory in which you want to build your other card.
  2. Modify the project dependencies that reference the Samples\Common directory.
  3. Change the base address in the Project Settings/link options/Output. If this is the same as another component's base address it significantly slows down the load process.

If you encounter any problems creating your own version of this sample, or if you lack experience with Visual C++ 5.0, you can create a COM object by any means with which you are familiar. This object must implement ICreditCardOtherCard and IPaymentCCTypeInstall.


© 1997-2000 Microsoft Corporation. All rights reserved.