iActiveWindow is already Shared and global at first line.
Do you use fbc 1.09 ?
if i remove sleep 1,1 from Loop i can't press ESCIf you don't put sleep 1,1 after flip you get a huge framerate while dragging, it might upset some cpu's.
The License is the GPL3 huge or not that it is.Using a pointer is of course your choice, I would prefer just using an array of instances.
You can still create/delete or not show windows.
Your licence is huge, is it really necessary?
Your choice of course.
Anyway, good luck with your project.