Sergey Khodych wrote:
- result = wcsncmp( dipsw.wsz, dipsa.wsz, sizeof( dipsw.wsz )/sizeof( dipsw.wsz[0] ) );
UNIX unicode and windows unicode are two separate things. Don't use functions that work with wchar_t - they are not compatible with Wine. Use Wine's own unicode functions instead. For example here you can use lstrcmpW().
Vitaliy.