Global Navigation Bar

MapInfo Products Knowledge Base


Product: MapBasic
Version: 5.5
Platform: All Win32 Platforms
Category: Printing

Summary:
Compiling in MapBasic 5.5 fails.

Question:
MapBasic 5.5 compilation can fail and generate an error if it doesn't like the printer driver.

Answer:

A program was successfully compiled with MapBasic 5.5 which was OK with MapInfo 4.5 to 5.0 version of MapBasic. But, this happened only after switching the default printer from an HP LaserJet 4000 to a Lexmark 150C.

The section in the code which threw the floating point exception system error was a reference to a layout zoom function.

This error can be triggered at run time by a buggy printer driver. This can now occur at compilation time as well.

The change of the default printer driver took a few seconds. Please check this before un-installing and re-installing MapInfo, MapBasic, cleaning the Windows registry, updating the printer drivers and then re-installing the operating system and programs from backup.


Last Modified: 12/13/1999 03:28:50 PM
Global Navigation Bar