On the comparison of function pointers http://www.newty.de/fpt/fpt.html#compare:
Code:
if(pt2Function >0)
Are function pointers when compared with integer values guaranteed to be unsigned? Otheerwise, this would fail for instance in kernel code or where the code located above 2GB in a 32-bit system, right?

I'm personally not sure if pointers are signed or unsigned... Anyone know?

I would do if (pt2Function != 0) instead - as zero is probably the only value that is sane to use, besides the address of a function.

--
Mats