IDAutomation.com, Inc.

Your Source for Quality Symbology

[IDAutomation.com Home Page]

ActiveX DLL for Bar Code Fonts

Install the wrapper class - the following procedure may be used to insert DLLs into a new C++ 6.0 project:

  1. Open Class Wizard.

  2. On the Message Maps tab select "Add Class"....."From type library"

  3. Browse to the directory where the DLL is located and select the DLL.

  4. A dialog will show the classes that will be generated, these classes are the interface to the DLL. Click OK.

  5. Assign a member variable to the encoder class.

  6. Insert the "AfxOleInit();" function in one of your constructor classes (View, Dlg, etc) to initialize the OLE handler.

  7. You can now access the DLL functions by using the member variable of the encoder class.

  8. Use the project provided in this ZIP file as an example.

  9. For a list of functions, please go to our ActiveX DLL website.

If you need to remove the wrapper class and add it again, do the following:

  1. Click on the "File View" tab so all the files in the project shows
  2. Click on IDAutomationFontEncoder.cpp and .h (whatever the name of the wrapper class is) to highlight and then press delete. (this removes the files from the project)
  3. Save and close the project.
  4. Physically delete the files from disk as well
  5. Open up the project and follow the procedure on how to install the wrapper class. (Make sure you keep the same member variable name for the wrapper class so you won't have to change any of your code)

Copyright © IDAutomation.com, Inc. 2001 All rights reserved. All trademarks mentioned are the property of their respective owners.