when loading a .dll file from lua it gives me this error:
loop or previous error loading module 'wildcard'
whats wrong?
@edit:
@lhf: ive changed the filename but now its giving me these errors:
> dofile("_test.lua")
_test.lua:1: module ‘wildcard’ not found:
no field package.preload[‘wildcard’]
no file ‘.\wildcard.lua’
no file ‘D:\luasocket-2.0.2-lua-5.1.2-Win32-vc6\lua\wildcard.lua’
no file ‘D:\luasocket-2.0.2-lua-5.1.2-Win32-vc6\lua\wildcard\init.lua’
no file ‘D:\luasocket-2.0.2-lua-5.1.2-Win32-vc6\wildcard.lua’
no file ‘D:\luasocket-2.0.2-lua-5.1.2-Win32-vc6\wildcard\init.lua’
no file ‘.\wildcard.dll’
no file ‘D:\luasocket-2.0.2-lua-5.1.2-Win32-vc6\wildcard.dll’
no file ‘D:\luasocket-2.0.2-lua-5.1.2-Win32-vc6\loadall.dll’
stack traceback:
[C]: in function ‘require’
_test.lua:1: in main chunk
[C]: in function ‘dofile’
stdin:1: in main chunk
[C]: ?
>
Try
See refman which describes the
packagetable.