ImageDIG FAQs & Help

You can access the full help files here.

<Q>. Why do I receive this error and how can I fix it? Run-time error '339': Component 'COMCTL32.OCX' or one of its dependencies not correctly registered: a file is missing or invalid.

<A>. The COMCTL32.OCX is normally installed with 32-bit Windows operating systems with IE4.0 or later. Windows NT 4.0 may or may not have it installed depending on the service pack, also another program that was uninstalled may remove it.

Auto-install of Comctl32.ocx:
You can download the control from this location: 480kB.

After downloading, double click on the file and it will automatically update your system and register the control.

Download the control from: 568kB.
For Windows NT 4.0/2000 C:\WINNT\SYSTEM32 (\WINNT\SYSTEM if your system does not have the 32 bit directory)

For Windows 95/98/ME/XP C:\WINDOWS\SYSTEM32 (\WINDOWS\SYSTEM if your system does not have the 32 bit directory)

It may be necessary to first 'unregister' the old COMCTL32.OCX by the following command: regsvr32 -u COMCTL32.OCX.

If an error saying 'not registered' then everything is fine and you can proceed with the following. Using your mouse, click on the "Start" button and then click on "Run".

Type the following command to register this library file: (if regsvr32.exe is not on your system a copy was placed in the ImageDIG directory when you installed it).

regsvr32 \windows\system32\COMCTL32.OCX (use the system directory that the file was copied to as mentioned above for the directory path in the command line).

You should see a message saying "DllRegisterServer ... succeeded" This should correct the problem and ImageDIG will run normally.

<Q>. Why do I get a message 'Run-time error 7, Out of memory' even though I have a very large amount of RAM (1GByte) on Windows XP.

<A>. "Out of Memory" messages with Windows XP

A small proportion of users of various commercial software programs who run those programs on computers using Windows XP and also have an unusually large amount of memory may receive an "Out of memory" error message on first starting the program.

By "large", we mean more than 512Mb of memory, say 1 Gb and over. The vast majority of computers running Windows XP have between 128 and 512 Mb and run such programs without any trouble. "Out of memory" error messages with Windows XP are a known problem and can crop up with many different programs designed to operate with Windows 95 and Windows 98. However, even then, only a small proportion of Windows XP machines are affected - those with large amounts of memory.

Paradoxically, the more memory you have, the more likely you are to be affected. Computers with 1 Gb of memory - well over the normal 128-512 Mb - are particularly at risk. A possible way of correcting the problem is to adjust the size of your page-file setting within XP. In brief, this involves right clicking [My Computer], clicking [Properties] clicking [Advanced] tab, then clicking [Settings] in the [Performance] section. Click the [Advanced] tab and then click [Change] under the [Virtual Memory] section to increase the size. In particular, the page file shouldn't be totally eliminated by the "No paging file" option being ticked. By design, some components in Windows XP require the presence of a page file, even if they never use it for its intended purpose and ticking this box will almost certainly lead to "Out of memory" messages, however much memory your system has.

Another recommendation regarding out-of-memory errors on Windows XP with machines with over 512Mb of RAM can possibly be corrected by downloading the latest Windows XP Service Pack 1 from and if that doesn't help, physically remove any extra memory down to 512Mb.

<Q>. I just tried to scan a color graph but I get a message "Invalid scan Plot routine, please reset Y-margins or verify color/intensity thresholds', what is wrong?

<A>. In order to accomodate any type of graph from black and white to multiple plots with mixed colors it is necessary to discriminate (filter) the color of the required graph. This is done in the following way:

You need to tell the program what color the graph itself is for the program to discriminate from the rest of the image. Under 'Options' open the Color Discriminator or Ctrl-L. Click on enable so the program knows that it is looking for color information. Then click on the 'Pick color' check box.

Now place your cursor over a location on the graph where the color is that you want to use for detection. Right click the mouse and you will see in the 'Selected levels' the current color that will be used (the color picker will uncheck automatically). Now hit the 'Run' menu choice. It will now scan the image and automatically bring up the plot previewer when done.

Copyright 2002-2004, by Michael Rhodes. All rights reserved. This document may not be copied in part or full without express written permission from the publisher. Revised Jan. 26, 2004