Am having a function called "createtrackbar" that takes a function
with a pointer argument as argument, am calling the the function
am passing to createtrackbar is called Blend from the same class.. this is how i called the function..
This is the Blend function in its cpp file....
in your main createTrackbar("Blend", "Blendimage", &defaultvalue, maximumvalue,ble.Blend);
You're trying to call the function Blend(int, void*) but you didn't use the parentheses and you didn't pass the function's arguments within them
I suppose what you wanted to do was that: createTrackbar("Blend", "Blendimage", &defaultvalue, maximumvalue, ble.Blend(defaultvalue, 0));