You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FYI: TypeScript compiles code in the same way as any C compiler. so u can reference any function in C code and any C function in TypeScript Native Compiler ... as all code will be compiled into OBJ files LINKER will resolve names.
Activity
ASDAlexander77 commentedon Aug 6, 2023
Have a look at project
\TypeScriptCompiler\docs\how\cmake_vulkan\you will see how to use native libraries with typescript native compiler.ASDAlexander77 commentedon Aug 6, 2023
FYI: TypeScript compiles code in the same way as any C compiler. so u can reference any function in C code and any C function in TypeScript Native Compiler ... as all code will be compiled into OBJ files LINKER will resolve names.
ASDAlexander77 commentedon Aug 6, 2023
second option can be to use ''import "./dll.dll"'' and then you can provide function names with "@dllimport" attributes
for example. if you have dll with function "point"