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
Excuse me.I want to write a DLL for RSA encryption and decryption. In golang, there is no problem with the program, but I have exported it as a DLL file. I want to call it with C #, and the result indicates that there is not enough memory. How can I solve it?The source file is dll_code.zip.thanks
Without knowing which version of Go you're using your stack traces aren't the most helpful, and how you're building the binary is important here, which you also don't specify. Without that data, and guessing, I don't think you're building the go code correctly as a shared library.
I'm not terribly familiar with building DLLs in Windows with Go, but the answers over at StackOverflow look correct to me:
Excuse me.I want to write a DLL for RSA encryption and decryption. In golang, there is no problem with the program, but I have exported it as a DLL file. I want to call it with C #, and the result indicates that there is not enough memory. How can I solve it?The source file is dll_code.zip.thanks
main.txt
The text was updated successfully, but these errors were encountered: