Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.

Quick

  • ($a, $b....) = unpack("A2A7...", $packed)
  • push( array, list )

Monday, October 24, 2011

Pointers to member functions

A pointer to a member function returning int, say, is not the same type as a pointer to a function returning int.

This buggers up any attempt to do anything simple like supplying a pointer to one of your class members where Windows expects a WNDPROC.

Don't think there is any easy way round this. This explains some more complicated ways round it.

Followers

Blog Archive