Displaying 3 results from an estimated 3 matches for "ms682425".
2014 Sep 18
3
patch for win_utf8_io.c: vsnprintf_s vs. MinGW
lvqcl wrote:
> Oops. It seems that vsnprintf_s isn't always available on MinGW platform:
> MinGW declares this function only if MINGW_HAS_SECURE_API macro is defined.
> That's because WinXP version of msvcrt.dll doesn't contain secure functions
> like vsnprintf_s.
>
> Maybe it's better to revert vsnprintf_s to vsprintf or to use vnsprintf?
Ok, we need to drop
2009 Jul 30
1
What changed in the R Windows interface from v2.6.2 to v2.7.0?
...e application (we
will call this FortranCon.exe), that I have written myself. To do this, I
send the command line "C:\Program Files\R\R-X.X.X\Rgui.exe" (where X.X.X is
the version number) as an argument to the
Windows API function CreateProcess (see
http://msdn.microsoft.com/en-us/library/ms682425(VS.85).aspx)
I use the createprocess command because I want the Rgui.exe and the Fortran
console application to run in parallel.
I have done this before with other executables (e.g. Tinn-R.exe,
textpad.exe) and there hasn't been a problem.
But with the current version of R(v2.9.1)...
2014 Sep 19
0
vsnprintf_s and vsnprintf
...quot;0123456789"
buf_size = 12; ret = 10; buffer = "0123456789"
---------------------------------------------------------------------------
By the way... according to MSDN page for CreateProcess() function
<http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx>:
"The maximum length of [the command line] is 32,768 characters, including the Unicode terminating null character".
UTF-8 uses up to 4 bytes for a character, so the maximum length of
a temporary buffer for a call like
flac_fprintf(stderr, "%s: ERROR: couldn't...