Simon BRUNOU
05/13/2022, 2:19 PMplatform.windows.*
or platform.posix.*
.
#include <Winsock2.h>
#include <Ws2bth.h>
#include <BluetoothAPIs.h>
Those are standard Win32 headers but I can’t find them anywhere on Kotlin/Native.
I am developing on macOS 12.4 with an M1 processor, if it matters.
Do I need to use cinterop and bind them manually? Or am I looking in the wrong place?
Thanks in advance!Landry Norris
05/13/2022, 6:09 PMSimon BRUNOU
05/16/2022, 7:36 AMheaders = BluetoothAPIs.h
to my cinterop file? Or do I need to use a specific path? Will I be able to use this cinterop on windows only?Landry Norris
05/16/2022, 1:57 PMLandry Norris
05/16/2022, 1:58 PMSimon BRUNOU
05/16/2022, 3:12 PMWinsock2.h
won’t be available on the path of a macOS machine. But if I need to use it in my mingwMain, I have to compile and develop the project on a windows machine?Simon BRUNOU
05/16/2022, 3:15 PMplatform.windows.*
. If they are available, please correct me.Simon BRUNOU
05/16/2022, 3:16 PMLandry Norris
05/16/2022, 3:52 PMLandry Norris
05/16/2022, 3:54 PMSimon BRUNOU
05/17/2022, 7:22 AM