Microsoft KB Archive/149856

= BUG: Embedding a String Using the /V Compiler Option Fails =

PSS ID Number: 149856

Article Last Modified on 11/2/1999

-

The information in this article applies to:


 * Microsoft Fortran PowerStation for Windows 95 and Windows NT 4.0

-



This article was previously published under Q149856



SYMPTOMS
Attempting to embed a character string that contains one or more spaces into an object code (.obj) file by using the /V compiler option causes all the characters following the first space in the character string to be ignored. As a result, the characters are not embedded into the object file.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Problem
  Create a source file (Myfile.for) that contains the following sample code: ! Compile options needed: /V

print *, 'Embedded Message' end  Compile the source file using the /V compiler option along with the string ("Embedded String"). At the MS-DOS command-line prompt, type:

fl32 /V"Embedded String" myfile.for

 Check the object file for the string. Create an object code dump file by using the Dumpbin.exe utility. At the MS-DOS command-line prompt, type:

dumpbin /all myfile.obj > myfile.txt

 Search the dump file (Myfile.txt) for the string ("Embedded String"). Note that searching the dump file yields only the "Embedded" part of the string in the RAW DATA #2 section.

Additional query words: 4.00

Keywords: kbLangFortran KB149856

Technology: kbAudDeveloper kbFORTRANPower400NT kbFortranSearch kbZNotKeyword8

-

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

© 2004 Microsoft Corporation. All rights reserved.