Original Post
can void pointers point to a class/struct/union? if so, shouldn't this work?
//prototype
void ControlCamera ( void *smth );
//in main function
hxCamera *cam = new hxCamera ( 1, 1, 20000 );
ControlCamera ( &cam );
//function body
void ControlCamera ( void *smth )
{
hxCamera* cm;
cm = (hxCamera*)smth;
//do whatever..
}