Hi everyone. I have successfully built .dll using ...
# kotlin-native
m
Hi everyone. I have successfully built .dll using kotlin multiplatform. I am using these .dll in my windows console app(using visual studio as IDE, I am not sure if that's important). when I am calling a function from my console app which is returning 8 a/c to KMP, it's printing some gibberish like 123453245 instead of 8. Has anyone faced the same issue, can anyone help me here? I think, the way I am calling it is forcing KMP to return pointer. Is there any documentation which suggests how to call functions written in header files generated by KMP in a windows app?
a
Can you illustrate this behavior with a code snippet?