DLL's with _stdcall functions and LPSTR vars


I try to create a DLL compatible with VB6 (using // +build windows win32), using _stdcall in functions and LPSTR in variables.
I search the internet and I can not find the solution.


I might be totally wrong here, sorry in advance, but I believe the GC (Go Compiler) just is not compatible. You can use FFI with cgo.

For what you want to do, you should try to compile with gccgo.

1 Like

How i can try with gccgo? Where I can download it?


Hint: Google.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.