Closed r-burns closed 1 year ago
When the output buffer size is too small, GetCurrentDirectory does nothing and simply returns the larger required size.
https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getcurrentdirectory#return-value
Needed to run Code Warrior 4 mwcc.exe with no arguments, displaying usage/help message.
(Still unable to compile/preprocess with CW4 mwcc.exe)
When the output buffer size is too small, GetCurrentDirectory does nothing and simply returns the larger required size.
https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getcurrentdirectory#return-value
Needed to run Code Warrior 4 mwcc.exe with no arguments, displaying usage/help message.
(Still unable to compile/preprocess with CW4 mwcc.exe)