Microsoft KB Archive/92457

= &quot;Syntax Error in Module Definition File&quot;; 'segmentname' =

PSS ID Number: 92457

Article Last Modified on 1/8/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q92457



SUMMARY
When using Link Overlays in Visual Basic for MS-DOS, you will get the error: &quot;Syntax error in module definition file&quot; if you have incorrectly defined the 'segmentname' of your Basic source file.



MORE INFORMATION
On Page 31 of the &quot;Professional Features&quot; manual, 'segmentname' is described as the following:

&quot;The name of the Basic source file. It must appear between single quotation marks; do not include the extension. Finding the 'segmentname' for non-Basic source files is explained below.&quot;

The documentation omits describing how to define the 'segmentname' of a Visual Basic for an MS-DOS source file.

The 'segmentname' in the definition (DEF) file should be the base name of your object (.OBJ) file, plus the extension &quot;_code&quot;. For example, given the filename 'mod1.obj', the 'segmentname' would be 'mod1_code'.

Additional query words: VBmsdos 1.00

Keywords: KB92457

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.