Browse insert names with double slashes:
E:\\WINNT\\Profiles\\reseditor\\Argyle.bmp
E:\\WINNT\\Profiles\\reseditor\\Argyle.bmp
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
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
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
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