One workaround might be to create a union between the function pointer and a long. Assign into the pointer element, compare the long element. Ugly, but it will get you going. You can probably hide it with some macros if you have to do it a lot. Best, -Mike