Page 1 of 1

Can Ren'py instantiate and use a DLL from another programming language?

Posted: Wed Apr 21, 2021 7:45 pm
by henvu50
Let's say I create a DLL using C# in .NET. Can I use that DLL in Ren'py somehow?

Can Ren'py instantiate and use DLL's compiled from other programming languages?

Re: Can Ren'py instantiate and use a DLL from another programming language?

Posted: Thu Apr 22, 2021 1:58 am
by felix
Yes, it can, with the ctypes module from the standard library.

Re: Can Ren'py instantiate and use a DLL from another programming language?

Posted: Thu Apr 22, 2021 6:19 am
by henvu50
Thanks. This got my foot in the door to where I need to be!

Looks like there are ways to create a C# made DLL that's compatible with ctypes, very cool: https://stackoverflow.com/questions/441 ... rom-python