dprintf Format Limitations
On Windows 95 DDK Version

 

Knowledge Base ID

KB11039903
Category LIMITATION

Effected Product

NDIS PIM 9X  - NDIS Pseudo-Intermediate (PIM) Driver for Windows 9X

Effected Versions

All
Effected Platforms Windows 95, Windows 98

 

Symptoms

Some DEBUG output messages are not properly formatted when using the Windows 95 DDK version of the dprintf function.

 

Cause

The DEBUG output string formatting available in the VtoolsD VxD run-time library is considerably more sophisticated than basic formatting functions provided with the Windows 95 DDK. As a result, some format specification fields (e.g., %8.8X) are not correctly interpreted under the Windows 95 version of dprintf and the output message is not correct.

 

Resolution

The fix would be for PCAUSA to provide a more functional printf implementation as part of the NDIS PIM 9X sample. At the present time this does not appear to be worthwhile, and there is no planned fix to this limitation of the Windows 95 DDK.

During the course of normal maintenance of the NDIS PIM 9X product some of the format specifications for the Windows 95 version will be simplified to work within the limitations of the Windows 95 string formatting capability.

In your own code, make sure that the format specifiers that you use are as simple as possible.

 

Status

November 3, 1999 There is no planned fix to this limitation

 

Comments

Please click the following link to send e-mail relating to this PCAUSA Knowledge Base topic:

<Send Mail To KB11039903 Technical Contact>

 

Keywords NDISPIM9X, LIMITATION
Created November 3, 1999
Last Reviewed November 3, 1999

 
 

PCAUSA Home · Privacy Statement · Products · Ordering · Support · Utilities · Resources
Mailing Lists  · PCAUSA Newsletter · PCAUSA Discussion List
 
Rawether for Windows and WinDis 32 are trademarks of Printing Communications Assoc., Inc. (PCAUSA)
Microsoft, MS, Windows, Windows 95, Windows 98, Windows Millennium, Windows 2000, and Win32 are registered trademarks and Visual C++ and Windows NT are trademarks of the Microsoft Corporation.
Send mail to webmaster@pcausa.com with questions or comments about this web site.
Copyright © 1996-2008 Printing Communications Assoc., Inc. (PCAUSA)
Last modified: December 31, 2007