Calling an external function
Posted: Wed Oct 09, 2013 11:03 am
I would like to call SetSysColors from user32.dll to change some system colours in my app. See http://msdn.microsoft.com/en-us/library ... 85%29.aspx for more info on this function.
I'm having some trouble getting this function declared in external functions and to also work. Params one and two are integerArrays and I'm not sure if Jade allows integerArrays to be declared so here's how my external function looks...
Any help on using this function in Jade would be appreciated.
thanks,
Mike
I'm having some trouble getting this function declared in external functions and to also work. Params one and two are integerArrays and I'm not sure if Jade allows integerArrays to be declared so here's how my external function looks...
Code: Select all
setSysColors(nChanges : Integer; lpSysColor : Integer; lpColorValues : Integer) : Boolean is SetSysColors in user32;
thanks,
Mike