Page 1 of 1

StrPutVar as builtin function

Posted: 01 Jan 2017, 13:33
by tmplinshi
Many dll functions expect a uint8_t* / utf8* / char* parameter. Recently I use StrPutVar a lot to convert string. Hope StrPutVar can become a builtin function, Thanks.

Re: StrPutVar as builtin function

Posted: 12 Jan 2017, 01:57
by tmplinshi
Ahh, my bad.. For functions expects a char* type, AHK can use AStr for it. I actually "have" tried this but I was using an invalid type StrA :facepalm:

Re: StrPutVar as builtin function

Posted: 12 Jan 2017, 02:23
by nnnik
tmplinshi wrote:Ahh, my bad.. For functions expects a char* type, AHK can use AStr for it. I actually "have" tried this but I was using an invalid type StrA :facepalm:
Oh I have done this before.
And like 3 hours of debugging later you find it.

Re: StrPutVar as builtin function

Posted: 12 Jan 2017, 02:27
by tmplinshi
:D