You are currently viewing Possible to use Kotlin/Native to call Win API from Kotlin/JVM?

Possible to use Kotlin/Native to call Win API from Kotlin/JVM?

I have a Kotlin + Java application where I need to interface with the Windows Native APIs. I learned about Kotlin/Native and was thinking maybe I could use it instead of using JNA/JNI? I am thinking its not possible since Kotlin/Native is outside of the JVM and you would probably need JNI to talk to it from the JVM. Does anyone know?

submitted by /u/beginnnnner
[link] [comments]