.tihan
.tihan
CC#
Created by nukleer bomb on 2/10/2023 in #help
❔ `delegate*` wrapper throws `System.BadImageFormatException`
I wanted to implement function pointer support in F# but it wasn't a priority so it never happened
78 replies
CC#
Created by nukleer bomb on 2/10/2023 in #help
❔ `delegate*` wrapper throws `System.BadImageFormatException`
You probably want to use Marshal.GetDelegateForFunctionPointer and create a delegate in F# -> https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/delegates
78 replies