#include "wine/debug.h"
#include "wine/heap.h"
-#include "wine/unicode.h"
#ifdef __REACTOS__
#include <wingdi.h>
TRACE("(%p %s %p %p)\n", inst, debugstr_w(lpszIndex), pbstrPath, ppTypeLib);
- index_len = lpszIndex ? strlenW(lpszIndex) : 0;
+ index_len = lpszIndex ? lstrlenW(lpszIndex) : 0;
path = heap_alloc((MAX_PATH+index_len)*sizeof(WCHAR) + sizeof(tlb_extW));
if(!path)
return E_OUTOFMEMORY;