- Home /
Unity plugins
Is it possible to call a C++ plugin without having a .dll file? I can not show the C++ code because of work reasons but, is there an alternative? or is [DllImport("filename")] the only way
Comment
That's the standard interop way, yeah. You can try having something running next to your app as a helper service and sending messages between them, but what use case are you encountering where the DLL import isn't viable?
I've made a .dll file, simple maths multiplication and that works fine. But, I have a C++ file (cpp and .h) without a dll. I was wondering if I could run the C++ file without the use of .dll