[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Call Lua script in VB 6.0 and vice versa
- From: Coda Highland <chighland@...>
- Date: Wed, 23 Jan 2013 10:51:28 -0800
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