Page 1 of 1

Question about #PB_File_SharedRead and #PB_File_SharedWrite on macOS

Posted: Mon Mar 24, 2025 9:43 am
by Quin
The documentation states:
#PB_File_SharedRead : the opened file can be read by another process (Windows only).
#PB_File_SharedWrite: the opened file can be written by another process (Windows only).
But, what does "Windows only" mean? Does it mean that if I provide the constants on the mac they will be harmlessly ignored and used on Windows (like I'd expect), or do I have to CompilerIf check them?
Thanks!

Re: Question about #PB_File_SharedRead and #PB_File_SharedWrite on macOS

Posted: Mon Mar 24, 2025 10:38 am
by Fred
There are ignored as there is no such mode on linux/osx

Re: Question about #PB_File_SharedRead and #PB_File_SharedWrite on macOS

Posted: Mon Mar 24, 2025 10:39 am
by Quin
Awesome, as I figured. Thanks Fred!