Spread 8 ReadMe
Spread 6.0 DLL Control to Spread 8.0 DLL Control

If you formerly used the Spread version 6.0 DLL control and now want to use the Spread version 8.0 DLL control, complete the following steps.

Note: Back up your project before making any changes.
  1. Open your existing project.
  2. Update the include path so that the new version of SSDLL.H is included in the project.
  3. Update the include path so that the new versions of SSDLLMFC.H and SSDLLMFC.CPP are included in the project.
  4. If you used the LoadLibrary function, make the following change:

    Change:
    LoadLibrary("SPR32D60.DLL")
    
    To:
    LoadLibrary("SPR32D80.DLL")
    
  5. If you hard coded the class name of the Spread control in your project, make one of the following changes:

    Use the define (SS_CLASSNAME)

    Make the following change:

    Change:
    fpSpread60
    
    To:
    fpSpread80
    
  6. If you used the SSSetTypeComboBoxEx function you need to add a new parameter (bAutoSearch) to the end of the function.

    The following settings are available:
    Setting Description
    0 - None Removes the searching capability
    Constant: SS_COMBO_AUTOSEARCH_NONE
    1 - Single Char (Default) Lets the user type a single search character
    Constant: SS_COMBO_AUTOSEARCH_SINGLECHAR
    2 - Multiple Char Lets the user type more than one search character
    Constant: SS_COMBO_AUTOSEARCH_MULTIPLECHAR
    3 - Single Char (Greater or Equal) Lets the user type a single search character or, if the search character is not found, the next item starting with a greater character
    Constant: SS_COMBO_AUTOSEARCH_SINGLECHARGREATER
  7. If you are working in C++ and your project used the ExportToExcel function you might need to remove the hWnd parameter from the beginning of the function in your code. Some previous versions of Spread erroneously included an hWnd parameter in the ExportToExcel function provided in the SSDLLMFC.H file. That parameter has been removed in the ExportToExcel function provided with Spread 8.0.
  8. If your project links to SPR32D60.LIB, load the SPR32D80.LIB file instead.
  9. Review the changes in Changes to DLL Components and update your project as needed.
  10. Rebuild your project and run it.
    Note: To find the class name for the controls, search for the define SS_CLASSNAME in the SSDLL.H file.

 

 


Copyright © GrapeCity, inc. All rights reserved.