Quick question coz this is doing my nut in ...
I need to pass a bunch of variables to a dll but i cant truncate a boolean value - Grrr!
How does one get around this?
thus far:
this bit is the problem -- \""..false.."\",\""..ENCODING_AUTO.."\""
.
.
.
false needs to be true or false so it cant be a quoted string, coz that doesnt work. But i cant truncate the boolean value coz that doesnt work either!
And ENCODING_AUTO needs to be exactly as written but cant be a quoted string coz that doesnt work.
Suggestions, oh wise ones?
I need to pass a bunch of variables to a dll but i cant truncate a boolean value - Grrr!
How does one get around this?
thus far:
DLL.CallFunction("...file32.DLL", "functionName", "\""..variable1.."\",\""..variable2.."\",\""..false.."\",\""..ENCODING_AUTO.."\"", DLL_RETURN_TYPE_LONG, DLL_CALL_STDCALL);
.
.
.
false needs to be true or false so it cant be a quoted string, coz that doesnt work. But i cant truncate the boolean value coz that doesnt work either!
And ENCODING_AUTO needs to be exactly as written but cant be a quoted string coz that doesnt work.
Suggestions, oh wise ones?
Comment