WinGX FAQ - Frequently Asked Questions



This FAQ page deals with all WinGX system programs obtained from this site (i.e, WinGX, Ortep-3 for Windows, Platon, Dirdif etc). It provides quick answers to commonly problems experienced problems . If your query does not appear here please use the Bug Report Form


1. GENERAL QUERIES FOR ALL PROGRAMS
Q 1.1. When I try to start the program I immediately get an error saying that the program is accessing an obsolete version of SALFLIBC.DLL or that there is an unrecognised format code or a missing export to the files SALFLIBC.DLL or WGXLIBxx.DLL. What is wrong?

A 1.1. You have old versions of these DLL files. The most likely reason is that the Setup program has not overwritten one or either of these files. The easiest solution is to delete all old versions of SALFLIBC.DLL and WGXLIBxx.DLL - which will be in your windows system directory (c:\windows\system for Win 95/98) - and run the Setup program again. For WinGX v1.64 the relevant date-stamps are:
SALFLIBC.DLL (27/04/00)
WGXLIBxx.DLL (11/03/01)
CIFTBX26.DLL (11/03/01)
Look for these files on your system. You should have only ONE copy of each on your computer, in the system directory. They must have these date-stamps.

Alternatively, you can download the current versions of all WinGX system-DLL's from this link. Unzip the contents of this archive file into your Windows system directory.


Q 1.2. When I try to start the program I immediately get an error saying that an environment variable is not set, or is set to a non-existent directory. I am running Windows 95/98/ME and I have made the suggested changes to the AUTOEXEC.BAT file. What is wrong?

A 1.2. If you have already rebooted your computer to effect the change in the AUTOEXEC.BAT file, then there are two likely reasons

  1. the spelling of the environment variable name or its value in the AUTOEXEC.BAT file is wrong
  2. you have run out of environment variable space. Do the following to increase this :

Q 1.3. I am using Windows 95/98/NT/2000 and when I start a program (usually PLATON or WinGX) I immediately get an Access Violation error from CCOPY#. What is wrong?

A 1.3. This was caused by a bug in the Salford library SALFLIBC.DLL. This has not yet been fixed properly, but the latest versions of PLATON have a fix-about and SHOULD NO LONGER show this problem. Please let me know if this is not the case.


Q 1.4. I am using Windows NT/2000 and I get run-time errors which give me a Window similar to that shown below. What is wrong?

A 1.4. This is usually only an issue with NT/2000 and is due to permission problems. It can also arise with Windows 95/98/ME if the directory has "attrib r" set ( i.e. readonly). The directory you use as the working directory MUST have read/write permissions for the user. Please see your system administrator if you do not know how to set these. Note that the directories pointed to by the environment variables WINGXDIR or ORTEP3DIR must also have user read/write permissions.


2. QUERIES ABOUT WINGX


Q 2.1. How can I get the PC version of SHELXL97 which I got from George Sheldrick to work in WinGX ?

A 2.1. WinGX now comes with a version of SHELXL97, but you may prefer to use the executable obtained for George Sheldrick (it will probably be faster). Install it as a User menu item. See the new WinGX installation instructions under section 1.3.3. "Setting up WinGX".


Q 2.2. When I try to start the program I immediately get an error saying that the file ELEMENT.DAT cannot be found. What is wrong?

A 2.2. The program has not been installed properly. Re-install with the latest version from the web-site.


Q 2.3. When I start up the program, the main menu bar is too small to see properly. What is wrong?

A 2.3. The parameter MenuWindowHeight in the [System] subsection of the WINGX.INI file has become set to a ridiculously small value. This occasionally happened in version 1.63 due to a bug, which this has been fixed in release 1.64. Reset the value of this parameter to something around 140-160 (the exact value depends on the Windows font sizes you are using). NB - you need to close down WinGX before editing this file.


3. QUERIES ABOUT ORTEP-3 FOR WINDOWS


Q 3.1. Why does Ortep-3 give a blank screen when I read in a CIF ?

A 3.1. This is either because:

  1. There is a syntax error in your CIF. In this case the Ortep Message about using the coordinates from data_ block xx will NOT appear, but short error message(s) from CIFTBX flash on the status bar. Ortep-3 for Windows does not provide CIF checking algorithms (use WinGX for this purpose). You must ensure that your CIF fulfills all the syntax requirements.
  2. There is some vital information missing in the CIF, e.g. cell constants. In this case you will see the Ortep Message box about using the coordinates from data_ block xx, but additional error message(s) will flash on the status bar. Please read the Ortep-3 for Windows documentation for the required CIF items.

Q 3.2. Why do the colours in my printed HPGL file not correspond to those on screen ?

A 3.2. The HPGL format does not support colours directly - it merely stipulates pen numbers for the graphic objects. The colours associated with any particular pen number are not dictated by the HPGL file, but by your local interpreter of the HPGL file, e.g. the PrintGL program. In other words you need to adjust the parameters associated with your local HPGL interpreter. If the HPGL file is imported into MS-Word, for instance, then the colour associations are fixed by the filter, and a particular pen number is always given the same colour.
On the other hand, the PostScript format DOES directly support colour and will give you the same colours as on screen. It should be used in preference to HPGL if the exact colour hue is important.


4. QUERIES ABOUT PLATON for WINDOWS


Q 4.1. Why does Platon for Windows crash immediately with an Access Violation error when I try to run a job on my Windows 95/98/NT/ME/2000 machine ?

A 4,1. See above in GENERAL QUERIES FOR ALL PROGRAMS (Question 1.3)


Q 4.2. Why does Platon for Windows Taskbar give me a message saying that a previous instance of PLATON is still running ?

A 4.2. This is because there is a previous instance of PLATON running (which may not be visible). This happens because you have not stopped PLATON properly, but just closed the Graphics or Text Windows (this DOESNT stop the program, unlike with other Windows applications). Use the Close Program window for Windows 95/98/ME (CRTL+ALT+DELETE key gives you this) or the NT Task Manager for Windows NT/2000 (right click on task bar) to kill all previous instances of PLATON and all should be OK.

The latest version of the Taskbar (1.02.2) should overcome this problem because it explicitly terminates all previous instances of PLATON before starting a new job.


Louis J. Farrugia

Department of Chemistry, Joseph Black Building,
University Of Glasgow, Glasgow G12 8QQ
Telephone +44 (0)141 330 5137
FAX +44 (0)141 330 4888

E-mail louis@chem.gla.ac.uk

This page was last updated on: March 31st, 2001.