Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

Sending and receiving variable-length arrays to and from DLL

$
0
0
I am extremely noob about this so i am in dire need of help and you guys are my only hope. Hence any help is greatly appreciated. I need to send a variable-length (one-dimensional) "double" array to a C++ dll from my unity script in C#. And need to receive a resulting struct that has a couple of variable-length (same size as the one I sent) "double" arrays (again one-dimensional) from the dll. I tried some recipes but they all ended up crashing Unity instantly as the script runs. PS: I can send and receive fixed-sized arrays successfully.

Viewing all articles
Browse latest Browse all 706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>