On Fri, 20 Jul 2012 14:07:51 +0100, DLimited <tanojo...@googlemail.com> wrote:

Hello everyone,

I encountered a few more problems while creating my system-wide makro program.

1)
I can't load my dll with LoadLibraryW, only LoadLibraryA. Why?

How are you passing the DLL filename to LoadLibraryA/W? Are you passing a string literal, i.e.

LoadLibraryW("C:\\folder\dllname.dll");

Have you tried the string literal suffix 'w', e.g.

LoadLibraryW("C:\\folder\dllname.dll"w);

R

Reply via email to