go-cshared-examples icon indicating copy to clipboard operation
go-cshared-examples copied to clipboard

Calling Go Functions from Other Languages using C Shared Libraries

Results 8 go-cshared-examples issues
Sort by recently updated
recently updated
newest added

I'm on Windows 10 x64 bit and I am getting this problem. I have the code copied exactly the same way except for the first four requirements because the old...

like the code below: ```golang t.go //export testFunc func testFunc() (a interface{}) { a = 100 return } t.h typedef struct { void *t; void *v; } GoInterface; // ......

Hello, need your help I use []string in golang now, so how to call it in java? ```go package main import ( "C" "fmt" "github.com/xuri/excelize/v2" "math/rand" "strconv" ) func main()...

@dpurfield Thank you for giving Dart Example for FFI. But when I execute it, it gives the following errors. Would really appreciate if you can help. ```shell ➜ ~ dart...

Hi, It would be helpful if there was a Rust example. I tried though wasn't able to get the linking flags to compile. Cargo.toml ``` [package] name = "client_rust" version...

I tried use the a go library on csharp and use callbacks, but the application entire crash by the library with the error: `unexpected fault address 0xffffffffffffffff fatal error: fault...

Hello once again @Digital-512 As mentioned in #27, I'm now seeking assistance for the task of passing a struct and also a slice of structs, from C# to a CGO...

I know share library share memory, but I'm confuse It can share the global config by threads call.