goDLL icon indicating copy to clipboard operation
goDLL copied to clipboard

how to create windows golang DLL and load into C, or delphi, or freepascal

Results 2 goDLL issues
Sort by recently updated
recently updated
newest added

Problem Description : There is dll( A1.dll- compiled in C++) in which a function is defined as EXPORT void S3(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow){} A1.dll `// dllmain.cpp...

When try to export as in godll.c PrintHello(GoString p1); goDLL.c: In function 'dummy': goDLL.c:6:13: error: expected expression before 'GoString' 6 | PrintHello(GoString p1); | ^~~~~~~~