Stefan Leichter <Stefan.Leichter at camLine.com> writes: > + pNum = (WCHAR* )devname + strlenW(comW); > + swscanf(pNum, L"%d%n", &inst, &numsiz); You can't use wide char constants or functions in Wine, you have to use the WCHAR ones. -- Alexandre Julliard julliard at winehq.com