Join Slack
Powered by
Hi, I like Kotlin and I would like to create a des...
# tornadofx
l
Lilly
04/23/2020, 12:19 AM
Hi, I like Kotlin and I would like to create a desktop app for Windows. Is it possible to access the Windows API with kotlin/tornadofx in any way?
s
sbyrne
04/23/2020, 1:06 AM
If you want to use the native windows toolkit from Kotlin, look at SWT.
sbyrne
04/23/2020, 1:08 AM
If you want to make arbitrary win32 api calls:
https://stackoverflow.com/questions/606820/is-there-a-java-library-to-access-the-native-windows-api
a
altavir
04/23/2020, 7:09 AM
Actually, if you want to create windows-API based GUI, you'd better use Kotlin-Native. Like in this sample:
https://github.com/JetBrains/kotlin-native/tree/master/samples/win32
Why do you want windows API anyway?
2
Views
Open in Slack
Previous
Next