flat assembler
Message board for the users of flat assembler.
Index
> Windows > Call func from DLL written at Golang. |
Author |
|
ProMiNick 15 Jan 2021, 15:37
greendruid wrote:
Code:
invoke PrintHello,message _________________ I don`t like to refer by "you" to one person. My soul requires acronim "thou" instead. |
|||
15 Jan 2021, 15:37 |
|
greendruid 15 Jan 2021, 16:24
ProMiNick wrote:
Hi, thanks for you attention! My mistake (copy the one of draft). But no success if I changing to a correct version (without square brackets). |
|||
15 Jan 2021, 16:24 |
|
ProMiNick 16 Jan 2021, 04:10
Code: section '.data' data readable dd -1 message db "test data",0 maybe string format: Code: length dword ; struct negate offset string char[] ; struct zero offset ; zero terminated |
|||
16 Jan 2021, 04:10 |
|
greendruid 17 Jan 2021, 10:08
ProMiNick wrote:
No success. Output in terminal looks like: Code: �☼H�� � I can to fix something in the DLL. Maybe I should change a data type to '[]byte' (byte array) in Golang library and pass a data as bytes (fix in fasm src)? |
|||
17 Jan 2021, 10:08 |
|
Ali.Z 17 Jan 2021, 23:13
i would say you better double check the reference manual for that specific function, see what arguments it takes and what calling conventions it use.
_________________ Asm For Wise Humans |
|||
17 Jan 2021, 23:13 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.