Win32s Application Note

Win32s versions description
XACTstep CD contains Win32s version 1.25.142, known as 1.25a. This version doesn't include the OLE32 files.
FOUNDATION CD contains Win32s version 1.30.159, known as 1.30b including OLE32 files version 2.3. 

FOUNDATION requirements
Some FOUNDATION tools like Symbol Wizard, HDL Editor and State Editor require the OLE32 software in order to run properly. In addition they require Win32s version 1.30 or higher to show all the graphics on the screen. If the version 1.25a is installed some controls in dialog boxes like slider control in Symbol Wizard or tree control in Template Assistant will not be visible or accesible.

XACTstep Design Manager requires Win32s version 1.25a or later.

Recommended installation sequence
FOUNDATION software installation requires that you install the XACT software and the Win32s 1.25 from the XACTstep CD-ROM first, then install FOUNDATION software and Win32s 1.30 from the FOUNDATION CD-ROM. It's always recommended to install the FreeCell program together with the Win32s. This program can be used as a test and will not run when the Win32s installation is incorrect.

Potential problems

"OLE32 not detected" error when starting HDL Wizard
Problem: The Win32s version from the XACTstep CD doesn't include the OLE32 files.
Solution: Install Win32s 1.25 from the FOUNDATION CD by running the SETUP.EXE program from WIN32S\1_25\DISK1 directory.

Win32s 1.30 has been installed first
Problem: The XACTstep will not install, prompting the user to reinstall Win32s version 1.25.142. 
Solution: Go to the WN1\INSTALL directory and run the WINSTALL.EXE. It will install the XACT software without checking the Win32s version number.

Win32s 1.30 installed correctly but there are still problems
Problem: Win32s has been installed correctly, but you cannot push into an HDL macro
Problem: XACT Design Manager gives error with OE20.exe when win32s v1.30 is installed.

The reason is the Win32s 1.30 incompatibility with some Windows configurations. If you run any Win32 program like FREECELL.EXE and you see the "Unexpected DOS error 21" or "Insufficient memory to run program" error message then it is a sign of this incompatibility. 

Solution: To correct this problem you need to obtain an updated version of Win32s 1.30c

The update is available from ALDEC BBS and FTP site. It is located in Win32s area as W32S13C.ZIP. The file is 3MB and contains the floppy disk structure, which can be restored by  typing PKUNZIP -D. 

For users having trouble downloading file of this size from the BBS, the file is also available in smaller pieces of 600kB: disk1.001, disk1.002, disk2.001, disk2.002, disk3.zip. The win32s.bat batch file is also included to restore the floppy disk install directory structure and perform the decompression.

How to uninstall Win32s?
You can use the RMWIN32S.BAT batch file located on the XACT CD-ROM in XBBS\UTILS directory. It will delete the Win32s files for you and show the instructions what to change in the SYSTEM.INI file.
You can also perform the uninstall procedure step by step:
exit Windows,
go to your Windows\System directory,
delete the following files from your Windows\System directory: Win32s16.dll, W32sys.dll, Winmm16.dll and Win32s.ini,
remove the Win32s subdirectory,
edit the System.ini file by removing the Winmm16.DLL from the list of the drivers in the [boot] section,
remove the following line under the [386Enh] section:
device=C:\Windows\System\Win32s\W32S.386



