If you formerly used the Spread version 7.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. |
- Open your existing project.
- Update the include path so that the new version of SSDLL.H is included in the project.
- Update the include path so that the new versions of SSDLLMFC.H and SSDLLMFC.CPP are included in the project.
- If you used the LoadLibrary function, make the following change:
Change: LoadLibrary("SPR32D70.DLL")
To: LoadLibrary("SPR32D80.DLL")
- 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: fpSpread70
To: fpSpread80
- If your project links to SPR32D70.LIB, load the SPR32D80.LIB file instead.
- Review the changes in Changes to DLL Components and update your project as needed.
- 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. |