oh you were some seconds faster.
heres the fixed version of your code wink
Code:
#include <acknex.h>

int * p(); // <-- needs ()
int _function()
{
	error("works now.");
}

void main()
{
	p = _function; // <-- without &
	p();
}



...and next time please use [code] and [/code] to make your code better readable smile

Last edited by Kartoffel; 11/17/12 14:28.

POTATO-MAN saves the day! - Random