"Andrey Turkin" <andrey.turkin at gmail.com> wrote: > + dllcache_wildcard = HeapAlloc(GetProcessHeap(), 0, strlenW( dllcache )*sizeof(WCHAR) * sizeof(wildcardW)); Aren't there too much of multiplications? -- Dmitry.