Reputation: 629
I am developing a network application in ANSI C. I would like to use Visual Studio 2008 or 2010 to develop it. I want to embed Lua as a scripting language.
I would like suggestions as to whether or not I should compile the application with Lua's sourcecode, or if I should use a .dll.
If I should compile with the source, how would I go about doing that? If I should compile with a .dll, how would that work?
Upvotes: 0
Views: 352
Reputation: 44306
You can go down either route. Pretty simple to compile into your code though, just include all the source ( except, you don't need the stuff for the Lua command line tool). Once you've done this, you have access to the API, and away you go!
Upvotes: 2