Microsoft KB Archive/93004

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 10:26, 21 July 2020 by X010 (talk | contribs) (Text replacement - ">" to ">")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


BUG: QuickHelp Paste Topic Command Pastes Two Extra Lines

Article ID: 93004

Article Last Modified on 9/30/2003



APPLIES TO

  • Microsoft QuickHelp for MS-DOS 1.7
  • Microsoft QuickHelp for MS-DOS 1.83



This article was previously published under Q93004

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 KB93004