Aug 6, 2018 at 8:49 AM Oryan Moshe wrote:
>
> It doesn't look like you turn it to const anywhere, just a pointer. Is the
> pointer conversion returning a const?
>
> On Mon, Aug 6, 2018, 18:46 Amit Limaye wrote:
>>
>> is the const char * a problem my string is not p
is the const char * a problem my string is not passed as const ?
-SIGTERM
amit
Humanity's first sin was faith, Its first virtue doubt
On Mon, Aug 6, 2018 at 8:33 AM wrote:
>
> layer is an enum in the dll.
> Gets converted to uint32 inside the dll before it makes the windows api call.
> priority
layer is an enum in the dll.
Gets converted to uint32 inside the dll before it makes the windows api
call.
priority is exposed as int16 in the exported dll api
Regards
Amit
On Saturday, August 4, 2018 at 10:53:40 AM UTC-7, Oryan Moshe wrote:
>
> Seems to me like type issues as well, doesn't
I am trying to call a DLL from go and I get an error "The parameter is
incorrect" error when I try to call this function
HANDLE Myopen(const char *filter, LAYER layer, INT16 priority, UINT64
flags)
is my signature in the C file
I call from golang using this
Open(lazyP*syscall.LazyProc, fi