Hi everyone, quick question about sharedLib on Win...
# kotlin-native
p
Hi everyone, quick question about sharedLib on Windows: I exported my multiplatform library as a sharedLib with the name nimmstaWindows, which works fine. This is my C code (main.c):
Copy code
#include <stdio.h>
#include "nimmstaWindows_api.h"

int main(int argc, char *argv[]) {
    nimmstaWindows_ExportedSymbols *lib = nimmstaWindows_symbols();
}
If I try to compile this command with the x64 Native Tools Command Prompt for VS 2019 and run the resulting .exe, I get this error:
Copy code
---------------------------
main.exe - Entry Point Not Found
---------------------------
The procedure entry point nimmstaWindows_symbols could not be located in the dynamic link library C:\Users\Patrick\Documents\nimmsta-shared-lib\main.exe. 
---------------------------
OK   
---------------------------
Any ideas what could cause this issue? I never had this issue before when I tried to export my project as a sharedLib. Thanks.