The main game is a short lite-c programm, which includes a panels.c file for definition of the panels. Then Lite C calls then my C++ game dll init function. An array of PANEL* is handed over from lite-c to the dll. From there on the C++ dll can access all panel flags, strings etc.