Browse insert names with double slashes:
E:\\WINNT\\Profiles\\reseditor\\Argyle.bmp
Posted on 2002-02-01 11:01:23 by The Svin
I found a piece of code that does it.
So I guess it's done in purpose, and yet I don't get it -
why do we need the double slash? I've never used dbl slash in rc files before for names of files. Is it a special sintax?
Here is the code that does double slash:
.while (eax)
mov bl, byte ptr szBuff0
mov byte ptr szBuff1, bl
.if bl == '\'
mov byte ptr szBuff1, '\'
inc edx
.endif
dec eax
inc ecx
inc edx
.endw
mov byte ptr szBuff1, 0
Posted on 2002-02-01 11:20:28 by The Svin
To The Svin:

I've found that if the path to a resource in a
resource file has more then one \ the resource
will not load unless it has a double \\.

I may be all wrong, but it works.

Thanks,

Ewayne
Posted on 2002-02-04 15:49:46 by Ewayne