Microsoft KB Archive/132894

{|
 * width="100%"|

FIX: UnTl.exe Fixes "Bad Format GPC File" Error Message

 * }

Q132894

-

The information in this article applies to:


 * Microsoft Win32 Device Driver Kit (DDK) for Windows NT, version 3.51

-

SYMPTOMS
When you are working with Unitool version 3.01 and the minidriver sample in \SRC\PRINT\HPPCL5MS, you receive the following error message:

Bad Format GPC file

CAUSE
You cannot start a minidriver project based on this sample with the current version of UniTool. The versions are incompatible.

RESOLUTION
There is a newer version of Unitool (version 3.08) that allows you to work with the hppcl5ms project in version 3.51 of the DDK. Simply replace the old version of UniTool.exe with the new one.

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. To correct this problem, obtain version 3.08 of UniTool.exe by downloading UnTl.exe and running it in an empty directory.

The following file is available for download from the Microsoft Download Center:

"UnTl.exe" For additional information about how to download Microsoft Support files, click the article number below to view the article in the Microsoft Knowledge Base:

"Q119591 How to Obtain Microsoft Support Files from Online Services" Microsoft used the most current virus detection software available on the date of posting to scan this file for viruses. Once posted, the file is housed on secure servers that prevent any unauthorized changes to the file.

MORE INFORMATION
You will get the following warning message when you open the hppcl5ms project with version 3.08 of UniTool:

  This GPC file is now over 60K, and 64K is the limit. Do you want to edit it anyway? YOU WILL LOSE ANY CHANGES YOU MAKE IF THE FILE EXCEEDS 64K WHEN YOU TRY TO SAVE IT!! Choose Yes to edit the project.

This message appears because UniTool was designed for 16-bit Windows printer drivers, so it must check the data size of the DLL to be built. The hppcl5ms sample is large, so you will lose any changes that result in a GPC file over 64K.

Additional query words:

Keywords : kbfile kbDDK kbOSWinNT351bug kbOSWinNT351fix kbPrinting

Issue type : kbbug

Technology : kbAudDeveloper kbWinDDKSearch kbWin32sSearch kbWin32DDKSearch kbWin32DDKNT351 kbWin32DDKNTSearch