[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1 static linkage?
- From: Mike Pall <mikelu-0604@...>
- Date: Sat, 22 Apr 2006 21:37:47 +0200
Hi,
Stuart Scandrett wrote:
> >Because the Windows API call GetModuleFileName() in setprogdir() is failing
>
> Mystery solved on this one. Looks like my project was defaulting to Unicode
> support (groan) so the string it returned was in wchar's.
Oops. I guess it may be better to use GetModuleFileNameA() in
setprogdir(). Any objections from the Windows experts?
Bye,
Mike