programs/winefontcfg: Add winefontcfg (try 3)

Dan Kegel dank at
Fri Jul 13 19:39:59 CDT 2007

Nigel wrote:
>> Is there a way you can get the path to the currently running
>> instance instead of hardcoding it?
>> Then it would work even if winefontcfg isn't on the PATH.
>+    GetFullPathNameW(exename, MAXSTRLEN, szFullPathName, NULL);

That just prepends the current directory onto
the given filename, which is not what you want, I think.

I think you want something like GetModuleFileName(NULL,
szPathFullName, MAXSTRLEN).

More information about the wine-devel mailing list