tjandracom wrote: > which is faster in Wine? > > WinApi functions such as: CreateFile(), ReadFile(), WriteFile(), CloseFile(), HeapAlloc(), HeapRealloc(), etc. > vs. > C Runtime functions: fopen(), fread(), fwrite, fclose(), malloc(), etc. > > if i develop an application to be run in Wine, should i use WinApi functions, or > C Runtime functions? If this is windows program then win32 api will be faster. Because Wine's msvcrt is written on top of the win32 api. And does not call glibc functions directly.