#include "winnls.h"
#include "winreg.h"
#include "wine/debug.h"
-#include "wine/unicode.h"
#include "errorrep.h"
LONG res;
TRACE("(%s)\n", wine_dbgstr_w(lpAppFileName));
- bslash = strrchrW(lpAppFileName, '\\');
+ bslash = wcsrchr(lpAppFileName, '\\');
if (bslash != NULL)
lpAppFileName = bslash + 1;
if (*lpAppFileName == '\0')