Upgrade Note
The latest TE Edit Control v25 can co-exists with older versions of TE Edit Control in the same machine. This is made possible by using new files names, new control and class names, new guids, etc. The following table describes the changes and the applications affected.
| Item | Old name | New Name | Application Affected |
|---|---|---|---|
| Dll file name | ter15.dll, ter16.dll, ter17.dll, ter18.dll, ter19.dll ter20.dll ter21.dll ter22.dll ter23.dll ter24.dll ter25.dll ter26.dll | ter32.dll | All. Use the new dll file name to incorporate into your application installation scripts. |
| Dll file name | None | txml2.dll | Used for the import of docx formatted files. Microsoft MSXML v2.0 or higher package must be installed for the docx file import feature to be available. |
| Dll file name | None | ssgp.dll | GDI Plus interface dll. The TFLAG8_ENABLE_GDIPLUS flag must also be turned on to make use of gdi-plus drawing. Also, Microsoft's GDIPLUS package must be installed to use this feature. |
| ActiveX file name | toc15.ocx, toc16.ocx, toc17.ocx toc18.ocx, toc19.ocx toc20.ocx toc21.ocx toc22.ocx toc23.ocx toc24.ocx toc26.ocx | toc30.ocx | Visual Basic, Visual Fox Pro, PowerBuilder, or any application using TE as an ActiveX control. Please ensures that your application registers the new ocx. |
When upgrading a form containing TOC object, please follow these steps:
1. Delete the existing TOC Control on the form.
2. Remove the old TOC componentl from your application space, and include the new TOC component.
3. Drop the new TOC control into your form to replace the old control. Use the same control name, so the control reference in your application remain valid.
| Class Name | Ter13Class, Ter14Class Ter15Class Ter16Class Ter17Class Ter18Class Ter19Class Ter20Class Ter21Class Ter22Class Ter25Class | Ter32Class | An application creating the TE control window using the CreateWindow Windows SDK call. It is a good practice to use the TER_CLASS constant instead of hard-coding the class name. |
| Control Name | TOC15.TOC14Ctrl.1 TOC16.TOC15Ctrl.1 TOC17.TOC17.Ctrl.1 TOC18.TOC18.Ctrl.1 TOC19.TOC19.Ctrl.1 or TOC20.TOC20.Ctrl.1 TOC21.TOC21.Ctrl.1 TOC22.TOC22.Ctrl.1 TOC23.TOC23.Ctrl.1 TOC26.TOC26.Ctrl.1 | Toc30.Toc30Ctrl.1 | An application creating a TE control using OLE control creation method. |
Other Changes:
Please note that starting from version 19 and later, the value of the MAX_WIDTH constant has been increased from 1000 to 2000. This may affect any function which returns a string type value using one of the function parameters. One example would be the TerGetLine function.
If you are upgrading from version 18 or an earlier version, please check your code to ensure that you are not using a hard-coded value of 300 or 1000 to declare or initialize a variable passed to such functions. Preferably the constant MAX_WIDTH should be used to define and initialize such string variables. Example:
dim text as string*MAX_WIDTH
text=space$(MAX_WIDTH) ' allocate space for the variable
If your programming language does not support the use of the constants, then please use the hard-coded value of 2000.