multiline strings in .rc files (was: Implementation of "start.exe", take 3)
davep
davep at cyw.uklinux.net
Sat Jan 18 15:59:51 CST 2003
On Saturday 18 Jan 2003 21:45, Dan Kegel wrote:
> > Something's fishy here. Our .rc files should be
> > usable in both environments without change.
>
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/rc_
>490l.asp says that \ is a simple line-continuation character. Thus \ at
> the end of a line in the .rc file should not insert a newline
> in the resource, I think. And it looks like our resource compiler
> is violating this.
{snip}
> After squinting at our source, I came up with a one-line patch
> to fix our resource compiler (attached).
> If that looks good, I can do a patch that fixes up all our .rc files
> that expected backslash to behave in a nonstandard way.
Right. I can't find reference in the documentation on Borland's way of
handling this, and in any case BC5 is long obsolete. Patching Wine's
resource compiler to work the way Win32 developers would expect looks like
the Right Thing.
Dave
More information about the wine-devel
mailing list