On Thu, Jun 3, 2021 at 9:20 AM George Vanev wrote:
>
> The function is from a Chinese SDK and I don't have the source code:
> int HDAPI Hd_Rt_SendRealTimeText(int nSendType, void *pStrParams, int
> nRealTimeAreaIndex, int nMaxPageCount, int nColor, int nGray, int nX, int nY,
> int nWidth, int n
The function is from a Chinese SDK and I don't have the source code:
int HDAPI Hd_Rt_SendRealTimeText(int nSendType, void *pStrParams, int
nRealTimeAreaIndex, int nMaxPageCount, int nColor, int nGray, int nX, int
nY, int nWidth, int nHeight,
void *pText, int nTextColor, int nBackGroupColor, int
On Thu, Jun 3, 2021 at 8:42 AM George Vanev wrote:
>
> I have an external 64 bit .DLL and I have to pass 22 arguments to one of the
> functions. Go (go1.16.4 windows/amd64) allows up to 18 arguments. Is there
> any workaround?
> I've tried to make Syscall22 in dll_windows.go, link it with
> sys
I have an external 64 bit .DLL and I have to pass 22 arguments to one of
the functions. Go (go1.16.4 windows/amd64) allows up to 18 arguments. Is
there any workaround?
I've tried to make Syscall22 in dll_windows.go, link it with
syscall_Syscall22 in src/runtime/syscall_windows.go and rebuilt: go