[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: package.loadlib crashes?
- From: L-28C <kixdemp@...>
- Date: Thu, 12 Apr 2007 20:35:04 -0400
Oh, so I should use __Beep instead? I get this error:
lua5.1: autorun.lua:1: The specified procedure could not be found.
Hmm, maybe you meant something else? Thanks!
Alex Queiroz wrote:
On 4/12/07, L-28C <firstname.lastname@example.org> wrote:
I want to use package.loadlib(), but when I run the returned function
(Beep in the below example) it crashes.
local Beep =
I tried 5.1.1 and then 5.1.2, both give the same result.
I also tried MessageBox in user32.dll, same result.
Help, please? Thanks in advance!
The Win32 API functions use a __stdcall calling convention. Maybe
that's the problem?