lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Luciano de Souza wrote:
In C or Pascal, it's possible to create resources files. WaAV, GIFs, HTMLs or any type of file can be packed in a single binary filed, in Windows, a DLL file. Using directly the Lua features, is it possible also to create this type of file?

Normally you need the resource compiler. You can't do it in Lua unless you write your own resource compiler, and you'd need a linking step as well, so you may also need to write that. If you just need .rc -> .dll, it's of course possible to write a simplified version, or a small one with cut-down features. But I haven't heard of any scripting language implementing their own resource compiler.

In positive answer, what is the library responsible to write and read it?

Different compilers have different steps. MinGW/gcc for example, compiles .rc to .o files, but you wouldn't be able to mix that with Visual C++. So a lot will have to do with your intended application...

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia