Metaclaw 21 Report post Posted June 16, 2016 so, I saw people use DLL files with RMXP, to add functions like online features. I want to learn how to make / use DLLs. can someone give the basics? like : how do I create a DLL? can RMXP run any DLL, or are there limits? what language is the code inside a DLL? what is Win32Api, and how is it related to using DLLS? Share this post Link to post Share on other sites
Polraudio 122 Report post Posted June 17, 2016 Alright i know what dll files are but never used them myself since i have no use for them. A dll file is sort of a "library" of code that gets used very very often... sort of like your own API. how do I create a DLL? Im not sure on this one but you will not need to create one unless you want to make your own library of functions and stuffs that you made. can RMXP run any DLL, or are there limits? It can use a dll but im not sure how. what language is the code inside a DLL? Whatever language it is lol. what is Win32Api, and how is it related to using DLLS? Win32Api is most likely windows API. It will allow you to create, delete, rename, etc. directories. Its almost a must for online games to do patches/updates for your game instead of having them download the entire game every single time. You wont need to create one unless you make stuff so good that it can be used as a tool. Really hard to explain stuff. I been using unity for about 2 years now and haven't had to make any dll files. Id read the top answer of this also http://stackoverflow.com/questions/124549/what-exactly-are-dll-files-and-how-do-they-work Share this post Link to post Share on other sites
Metaclaw 21 Report post Posted June 18, 2016 (edited) I meant to ask what languages can be used to write the code in DLL files. anyway, I asked around, and heard that you can write DLLs in c# language. though only c# programs can run them, and they require .Net framework to run. which makes me wonder if Ruby is similar, and can only run Ruby DLLs / require Ruby to be installed. that would be bad, as installing Ruby is not a task for your ordinary computer user. I don't want my game to reuire ruby. (RMXP doesn't actually install Ruby, I'm not sure how it runs Ruby code) so... my game still needs a script to get data from a server. my options are either to use c# .exe file, and ask players to install the .Net framework (most people have it installed so it's not big deal) or write a DLL in C (so there's no need to install extra stuff) I haven't touched C in years, but I remember it being very low level. connecting to a server in such a language is too much trouble. but it sounds useful for adding simple functions to RMXP. there are probably C code snippets available online for comon tasks. Edited June 18, 2016 by Metaclaw Share this post Link to post Share on other sites