jacob navia
7/7/2011 6:51:00 PM
Le 07/07/11 20:28, tm a écrit :
> OKAY.
> What other wide functions are missing?
>
> I use the wide functions for Unicode support under Windows.
> The Windows port of Seed7 with MinGW (and other compilers) uses:
> _wchdir,
SetCurrentDirectoryW
_wgetcwd,
GetCurrentDirectoryW
_wmkdir(path),
CreateDirectory
_wrmdir,
RemoveDirectory
_wopendir,
_wreaddir,
_wclosedir,
I don't know what those should do.
_wstati64,
Can be done with the windows API
_wchmod, _wutime,
_wremove, _wrename,
> _wsystem, _wpopen, _wfopen, _wgetenv and _wputenv.
>
None of those...
> MinGW, Cygwin, MSVC, Borland, TinyC and DJGPP support them
No, they link with the run time library of MSVC. I don't link with that
since it is not C99.
You can do this easily with:
Handle h = LoadLibrary("msvcrt.dll");
Then fill all the function pointers to each of those functions in
a loop with:
GetProcAddress(h,"wstati64");
etc
jacob