KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q93004: BUG: QuickHelp Paste Topic Command Pastes Two Extra Lines

Article: Q93004
Product(s): Microsoft Programming Utilities
Version(s): MS-DOS:1.7,1.83
Operating System(s): 
Keyword(s): kb16bitonly
Last Modified: 30-OCT-1999

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft QuickHelp for MS-DOS, versions 1.7, 1.83 
-------------------------------------------------------------------------------

SYMPTOMS
========

After pasting an example program from the Microsoft QuickHelp utility, compiling
the program generates the following errors, possibly among others:

  settime.c(1) : error C2143: syntax error : missing '{'
  before ':'
  settime.c(1) : error C2143: syntax error : missing ';'
  before ':'
  settime.c(81) : error C2143: syntax error : missing ';'
  before '-'

SETTIME.C is the example program to demonstrate the _dos_getdate() function.

CAUSE
=====

These errors are caused by the following two lines which are pasted into the
file with the QuickHelp utility:

  Topic: SETTIME.C

  -and-

  -<>-

The "<>" symbol in the second line is the character 0x04 that indicates the
end of the topic.

RESOLUTION
==========

Modify the file to comment out or delete the two lines indicated above before
compiling the example program.

STATUS
======

Microsoft has confirmed this to be a problem in QuickHelp versions 1.7 and 1.83.
We are researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.

Additional query words: 1.70 1.83 ENDUSER | buglist1.70 buglist1.83

======================================================================
Keywords          : kb16bitonly 
Technology        : kbAudDeveloper kbQBASICSearch kbQuickHelpSearch kbQuickHelp170DOS kbQuickHelp183DOS
Version           : MS-DOS:1.7,1.83

=============================================================================

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.