lua-users home
lua-l archive

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


On Wed, Jan 23, 2013 at 8:11 AM, Balram Chavan <balramchavan@gmail.com> wrote:
> Hi There,
>
> Hope you find this message in good health.
>
> I have searched a lot to get some information and sample work.
>
> I am new to lua script but good in vb6.0.
>
> I want to have simple lua script function which i can call from vb6.0 and
> similarly any simple vb6.0 function to be called from lua script.
>
> Could you please let me know how to do this and if possible provide any
> sample work?
>
> Thanks a lot!
>
> Regards,
> Balram

This is going to be kinda tricky, but you should be able to import the
various Lua C API functions into VB using Declare. I haven't done this
kind of thing in a decade, so you'll have to consult the documentation
on Declare for more information.

/s/ Adam