RC Compiler produces wrong results with the # preprocessor operator - by Martin Richter

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


1
0
Sign in
to vote
ID 252616 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 1/18/2007 5:21:37 AM
Access Restriction Public

Description

The RC compiler creates wrong code when using the #define # preprocessor operator!

The major problem here is that this code is used for LANGIDs. As long as the language IDs contain digits only, there is no problem. But if the language IDs contain Hex characters, like Hungary, this code fails.

It occurred when we tried to add compile language localizations for the MFC DLLs!
Sign in to post a comment.
Posted by Martin Richter on 4/13/2007 at 6:29 AM
How is this fixed?
It is not fair to set a problem to fixed without giving any comment!
Posted by Martin Richter on 1/18/2007 at 5:23 AM
Testing this problem shows that the following rc-compilers fail with this bug.
VS2003
VS2003 SP1
VS2005
VS2005 SP1