[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: DLLIMPORT
- From: Shmuel Zeigerman <shmuz@...>
- Date: Fri, 07 Dec 2007 07:36:18 +0200
Jeff Wise wrote:
Now I get “unknown at param ‘p’ at statement 58”. This statement reads:
hnd = FindFirstFile("*.*", wfd);
There is no ‘p’ in this statement. I must have installed Lua wrong.
Try to change the following in test.lua:
Line 31:
- FindFirstFile = dllimport("KERNEL32","FindFirstFileA","P=pp")
+ FindFirstFile = dllimport("KERNEL32","FindFirstFileA","P=PP")
Line 35:
- FindClose = dllimport("KERNEL32","FindClose","i=p")
+ FindClose = dllimport("KERNEL32","FindClose","i=P")
--
Shmuel