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
I am attempting to build a dll that uses this package. On opening the odbc connection with the sql.Open("odbc", "mydns") I always receive an unable to marshal error (very generic and disappointing). My golang executable works fine outside of -buildmode=c-shared. I'm wondering if anyone has had success building a golang dll using this package. Here is a tutorial I followed for creating my dll and using it in C# https://medium.com/@shantanukhande/red-team-how-to-embed-golang-tools-in-c-e269bf33876a
Here is an example build command go build -buildmode=c-shared -o my_go.dll main.go
If anyone knows of anything I can do to debug this further please let me know.
The text was updated successfully, but these errors were encountered:
I am also happy to try and reproduce your problem, when I have time. But you need to provide exact steps of what I need to do - including all software I need to install. Also note that I only have Linux computer.
I am attempting to build a dll that uses this package. On opening the odbc connection with the
sql.Open("odbc", "mydns")
I always receive an unable to marshal error (very generic and disappointing). My golang executable works fine outside of-buildmode=c-shared
. I'm wondering if anyone has had success building a golang dll using this package. Here is a tutorial I followed for creating my dll and using it in C# https://medium.com/@shantanukhande/red-team-how-to-embed-golang-tools-in-c-e269bf33876aHere is an example build command
go build -buildmode=c-shared -o my_go.dll main.go
If anyone knows of anything I can do to debug this further please let me know.
The text was updated successfully, but these errors were encountered: