ok.

thx. but the 1. solution did not waork.
I tried pan_setevent(PANEL*,var type,var num,void* event) but I set the parameter "event" with one STRING from one XML file (I created one dll for this) the game close because the parameter EVENT donīt recognize STRING.
Do you why it happens?