Maintenance Pack 2
for Smalltalk MT 4.2
Welcome to Maintenance Pack #2 for Smalltalk MT 4.2. The pack upgrades Smalltalk MT version 4.2 to 4.2b. Maintenance packs are cumulative so there is no need to install pack #1.
This document is organized into the following topics:
Installing Maintenance Pack #2 involves two steps, step 1 copies the files and step 2 installs the source code into the image.
- Exit Smalltalk
- Run the installer and select the Smalltalk MT 4.2 installation directory as target folder (it is the default target folder).
Note: Select a separate directory if you wish to keep your current installation intact. You can then copy files as needed.
Installing the Smalltalk project
Launch Smalltalk MT
Navigate to the folder Source\Maintenance Packs
File-in the maintenance pack project.
The About box in Smalltalk MT should now display version 4.20b. To check the runtime DLL version, go to the Image Properties, Linkage page, and select STRTDLL40.dll. The box at the bottom of the page should display:
Smalltalk MT Runtime DLL, Version 18.104.22.1686
If GDI+ is not installed in your image, you will automatically use the new library the next time you load the GDI+ project. Otherwise, the best procedure is to uninstall GDI+, unlink STGDIPLUS.dll, then reinstall.
Removing Maintenance Pack #2
Because the maintenance pack overwrites components that are used by the Smalltalk MT development environment, you must repair the original installation when you uninstall the maintenance pack. To uninstall, start Setup and choose Remove.
Note: If you installed to a separate directory you can remove the maintenance pack safely.
File File Version Location Description strtdll40.dll 4.20a (Debug) Bin\Debug Updated Runtime DLL, Debug Mode strtdll40.dll 4.20a Bin\Release Updated Runtime DLL, Release Mode strtdll40.dbg NA Bin\Release Debug symbols for strtdll40.dll strtdll40.dll 4.20a Redist Updated Runtime DLL, Release Mode strtdll40.dll 4.20a (W95) Redist Updated Runtime DLL, Release Mode, for Windows 95 stgdiplus.dll 4.20a Bin\Debug Updated GDI+ DLL, Debug Mode stgdiplus.dll 4.20a (Debug) Bin\Release Updated GDI+ DLL, Release Mode readme_mp2.htm NA Help This help file. STMT42_MP2.SPX NA Source\Maintenance Packs Smalltalk project for Maintenance Pack gdiplus.def NA Source\GdiPlus Updated GDI+ Imports gdiplus.spx NA Source\GdiPlus Updated GDI+ Smalltalk project fix_nt4_only NA Support\Utilities\NT4 Fixes a menu editing problem on NT 4
All Windows messages (WM_ ...) are now registered in the message table. Previously, only implemented messages were in the message table, requiring projects to reinitialize the message table after adding a new message (pack #2).
stgdiplus.dll enhances the GDI+ library.
With certain allocation patterns, the garbage collector in version 4.2 did not run often enough, resulting in increased memory consumption. strtdll40.dll (file version 4.2a) fixes the problem.
The following problems are fixed:
Access violation when inspecting a WordArray and clicking on an element (pack #2)
Failure when opening a Library Editor on a dynamically loaded library (pack #2)
Stepping within the Debugger may cause an exception or invalid symbol send
The Class creation dialog accepted class names with spaces
The search feature in the Class prompter failed in the Unicode image
File Open in Workspace inserted byte mark characters when reading a Unicode file
Support for Windows enhanced metafiles (EnhMetafile and ENHMETAHEADER).
GDI+ has been enhanced with the following features:
Support for private fonts and font collections
When a GDI+ error occurs, the debug version prints a message box with the error description and the API where a problem occurred.
Other miscellaneous improvements
Windows NT 4
Fixes a problem when editing a menu in the GUI Builder. The code is for NT 4 only (the underlying API behaves differently on Windows NT 4 than on Windows 9x/ME/2000/XP).
Copyright © 2002 Object Connect, Genify Corporation. All Rights Reserved.