flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
alexfru
"...\0\0\0"
Or if you use an array, making it big enough will work: wchar_t filename[100] = L"C:\\folder1\\folder2\\folder3\\"; |
|||
![]() |
|
revolution
Use the constants that come with your OS. For Windows:
Code: wchar_t filename[MAX_PATH] = L"C:\\folder1\\folder2\\folder3\\"; |
|||
![]() |
|
vivik
It looks like this string ends up read-only. Can I make it writable? Compiler is VS2005.
I guess I'll just copy it somewhere for now, it's not important. |
|||
![]() |
|
shoorick
MAX_PATH may appear short for UNICODE functions. It is not bad to read this to clarify the subject.
|
|||
![]() |
|
rugxulo
vivik wrote: It looks like this string ends up read-only. Can I make it writable? Compiler is VS2005. readonly wrote:
writeable? wrote:
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.