Thanks, have forgot ent_create but with your code, i get an memory area Error, if shut down the engine.(with and without Struct array) And i have to set "[1]" by Ents, because the "subscript" error.
This code is 100% correct. Check what sizeof(ENTITY) and sizeof(FLARE) is and see if its correct. If nothing works simply use WinAPIs (CreateHeap, HeapAlloc, HeapFree)