I am a complete "noob" to C#, however I do know some C, although that is a good start, it's not enough. I have downloaded the most recent version of LuaInterface, and the download in cluded two files: lua51.dll, and LuaInterface.dll. I cannot figure out how to use this in my C# project, and be able to run Lua within it. If anyone can help, it would be great. Please don't use a very complicated explanation if you can. Thanks!
LuaInterface in C#
1.3k Views Asked by Sam H At
2
There are 2 best solutions below
0
Axis
On
You need to add references to the dlls. Note I had trouble getting the lua interface working for .net 4.0 and x64 machines. I had to download the source and recompile it myself. You can find the source here: http://www.lua.org/ftp/
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in LUA
- How to make a ServerScript wait for a LocalScript to fire a RemoteEvent
- global const variables in lua 5.4
- Backpack for roblox simulator game
- Calling an event with a delay in Roblox Studio. How to do?
- lghub lua script presskey
- LGHUB Lua script
- In pairs for loop not looping inside of another in pairs loop
- Lua syntax error expected '(' near update_rotation
- 64 unsigned integers in Lua 5.3/5.4 do not behave like in "Programming in Lua"
- How to write a lua pattern that is aware of escaped characters?
- having trouble installing neovim plugin
- Incorrect number comparison result (Lua)
- Lua: is there a need to use hash of string as a key in lua tables
- continuations in lua, is not working while trying extending it
- Neovim Kickstart config "E5113: Error while calling lua chunk: vim/_editor.lua:0: attempt to compare two table values" everytime I open neovim
Related Questions in USING
- gcc-11 compiler problems with multiple inheritance and statement "using"
- Error in Using references with Blazor Client
- Using decltype for templated function declaration results in "conflict" when defining the templated function
- An alternative for C++ not allowing templated type aliases?
- Do I need both Dispose() and Complete() methods in a transaction to achieve a roll back in case of failure?
- Bing Search not getting my Title & Description tags in the search results using React JS (data-rh="true")
- no applicable method for 'filter' applied to an object of class "character"
- C# .NET Core - Will a disposable persist across a try/catch block when declared outside? Is this poor practice?
- My use of __str__() inside of another object's __str__() is not working
- Don't know how to use namespace of one project in another
- OpenXML - Use SpreadsheetDocument.Open in a static class to make a kinf of Excel library
- Using keyword with virtual inheritance in cpp
- How do I stop Visual Studio from adding random usings?
- Loop Inside a dotnet using stament
- Does a using namespace directive make names usable in inlined functions?
Related Questions in VISUAL-C#-EXPRESS-2010
Related Questions in LUAINTERFACE
- How to evaluate a tables in Lua?
- C# reading LuaTable with LuaInterface that contains Russian letters
- NLua - How to add new functions to a userdata through Lua?
- Read .lua files in .net ( LuaInterface )
- Lua: What's the difference between null and nil?
- LuaInterface issue with vs 2015 RC project
- C# LuaInterface / NLua: Route around compiling Lua for multiple objects with same script?
- How can I know which string chunk is executed in c# - luainterface?
- luaedit 3..0.10 will not show output from simple script
- How do you pass an object from c# to lua's function?
- How to pass a table to lua with c#
- LuaInterface error loading module(Lua for Windows is OK)
- LuaInterface not calling a method
- C# Luainterface two dots
- Register functions without using them "Object reference not set to an instance of an object."
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Right click on the project and select add reference. Then select the browse tab and select the dll's from their respective directories.