"Steven Edwards" Steven_Ed4153@yahoo.com wrote:
Changelog: Fix for commdlg. Mingw stdlib.h defines wcstol so we check for it and use it else we use the normal wine one.
I don't think that it's a good idea. Apparently Mingw uses msvcrt.dll as its C run-time library and wcstol is imported from there.
It would be much better to use functions provided by Wine dlls as much as possible. Especially in the cases when wcstol is imported by kernel, user or gdi, which certainly could not import msvcrt.dll, but must rely on the functionality provided by ntdll instead.
By the way, do you have a plan for using low level functionality provided by an underlying system such as selector management, process and thread creation and similar things?