If you are redistributing a Spread control with your application, review the following information concerning the files you must distribute with your application.
Before an ActiveX control can be used in your distributed application, it must be included in the Windows registration database. As a developer, you are responsible for registering the ActiveX control files, as well as any files noted below. If the files are already present on the target system, they need not be registered.
Your setup program can register controls and files directly. Use the LoadLibrary Windows API to load the control's DLL or the DLL file, then use GetProcAddress to obtain the address of the "DLLRegisterServer" function, and then call that function.
The Excel 2007 methods require the Microsoft .NET 2.0 Framework, must be registered with regasm.exe using the /codebase option, and must ensure that the Spread 8 module is in the same folder as the corresponding Excel2007 dll or can be found in the system path.
For additional information, consult your development environment's documentation.
To redistribute the Spread ActiveX control, you must include the following files, based on your development environment:
File | Description | Provided in |
---|---|---|
FPSPR80.OCX* | Spread ActiveX control | \SPREAD80\BIN |
FPIMAGE.DLL# | Spread file for new picture methods | \WINDOWS\SYSTEM32 |
FARPOINT.SPREAD8.EXCEL2007.DLL+ | Assembly for Excel xlsx import/export | \SPREAD80\BIN |
MFC42.DLL*† | Microsoft Foundation Class library (version 6.0.8447) | \FARPOINT TECHNOLOGIES\REDIST |
MSVCRT.DLL† | C run-time libraries (version 6.00.8337 or later) | \FARPOINT TECHNOLOGIES\REDIST |
To redistribute the Unicode Spread ActiveX control, you must include the following files:
File | Description | Provided in |
---|---|---|
FPSPRU80.OCX* | Unicode Spread ActiveX control | \SPREAD80\BIN |
FPIMAGE.DLL# | Spread file for new picture methods | \WINDOWS\SYSTEM32 |
FARPOINT.SPREAD8U.EXCEL2007.DLL+ | Assembly for Excel xlsx import/export | \SPREAD80\BIN |
MFC42U.DLL*† | Microsoft Foundation Class library | \FARPOINT TECHNOLOGIES\REDIST |
MSVCRT.DLL† | C run-time libraries (version 6.00.8337 or later) | \FARPOINT TECHNOLOGIES\REDIST |
* Must be registered on target system. | ||
# Must be in system directory if you used the LoadPicture, SavePicture, LoadResPicture, LoadPictureBuffer, or SavePictureBuffer Methods. | ||
† You must use the specified version of this file, or a later version of the file, in your installation. If you do not do so, your installation might fail or produce unexpected results. | ||
+ In order to use the Excel 2007 (xlsx) import and export methods, you need this file as well as the Microsoft .NET Framework. Use the Microsoft Assembly Registration tool (regasm.exe) to register this assembly. |
Note: If you are using Visual Basic's setup wizard to create your installation, check that the DLL files the wizard incorporates are the versions listed in the preceding table, or later versions of these files. The setup wizard pulls DLL files for the installation it creates from the \SETUPKIT\KITFIL32\SYS32 directory. If those DLL files are not the versions specified above or later versions, you must replace the files with the specified versions. |
If you are redistributing the Spread ActiveX controls with an international application, include the following files in addition to the preceding files as appropriate:
File | Description |
---|---|
MFC40CHS.DLL | Chinese |
MFC40DEU.DLL | German |
MFC40ESP.DLL | Spanish |
MFC40FRA.DLL | French |
MFC40ITA.DLL | Italian |
MFC40JAP.DLL | Japanese |
MFC40KOR.DLL | Korean |
To redistribute the Spread DLL control, include one of the following files as well as any required files:
File | Description | Requirement for XLSX functions |
---|---|---|
SPR32D80.DLL | 32-bit | FARPOINT.SPREAD8DLL32.EXCEL2007.DLL+ |
SPR32DU80.DLL | 32-bit Unicode | FARPOINT.SPREAD8UDLL32.EXCEL2007.DLL+ |
SPR64D80.DLL | x64 | FARPOINT.SPREAD8DLL64.EXCEL2007.DLL+ |
SPR64DU80.DLL | x64 Unicode | FARPOINT.SPREAD8UDLL64.EXCEL2007.DLL+ |
SPRIA64D80.DLL | Itanium | FARPOINT.SPREAD8DLLIA64.EXCEL2007.DLL+ |
SPRIA64DU80.DLL | Itanium Unicode | FARPOINT.SPREAD8UDLLIA64.EXCEL2007.DLL+ |
Note: The x64 DLL builds also require MSVCR80.DLL. |
The SSLoadPicture, SSSavePicture, or SSLoadResPicture function requires the following file:
File | Description | |
---|---|---|
FPIMAGE.DLL# | Spread file for new picture functions | |
# Must be in system directory if you used the SSLoadPicture, SSSavePicture, or SSLoadResPicture functions. | ||
+ In order to use the Excel 2007 (xlsx) import and export methods, you need this file as well as the Microsoft .NET Framework. Use the Microsoft Assembly Registration tool (regasm.exe) to register this assembly. The Excel 2007 methods require the Microsoft .NET 2.0 Framework, must be registered with regasm.exe using the /codebase option, and must ensure that the Spread 8 module is in the same folder as the corresponding Excel2007 dll or can be found in the system path. |
To review the location of installed files, refer to Spread Installed Files.