Article ID: 63624 - Last Review: October 23, 2003 - Revision: 2.0 BUG: L1027 Error When Object File Name Includes a Parenthesis
This article was previously published under Q63624 SYMPTOMS
An attempt to link an application fails and Microsoft LINK
generates the following message:
L1027: Unmatched left/right parenthesis
CAUSE
One or more object modules contains a parenthesis in its filename.
If the object module is in the current directory, the error occurs
when either of the following conditions is true:
STATUS
Microsoft has confirmed this to be a problem in each version of
Microsoft LINK that supports overlays. We are researching this
problem and will post new information here in the Microsoft
Knowledge Base as it becomes available.
MORE INFORMATION
Normally, when the names of one or more object modules are surrounded
by parentheses, LINK places those modules into an overlay. Therefore,
if a left (or right) parenthesis appears immediately before (or after)
the name of an object module, LINK expects a matching right (or left)
parenthesis immediately after (or before) the name. If the parentheses
does not match, LINK generates a fatal error L1027.
For example, the following LINK command line causes an "unmatched left parenthesis" error if the object module ABC.OBJ is in the current directory:
link (abc;
However, if ABC.OBJ is not in the current directory, then the
parenthesis is imbedded in the path and filename string. In this case,
LINK does not generate an error, as shown below:
link temp\(abc;
Similarly, a file named ABC).OBJ does not generate an error if linked
as follows:
link abc).obj;
However, if the .OBJ extension is omitted, as follows, the L1027 error
occurs:
link abc);
If a left or right parenthesis is embedded in the name of a file, no
error occurs. The following three LINK command lines each function
correctly:
link a(bc; link a()bc; link a)bc; APPLIES TO
| Other Resources Other Support Sites
CommunityArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email

Back to the top