Lite-C (and other engines) use DirectX to check how wide a text is. But for this you need a DirectX device so just wait until total_frames is higher than 0 before calling wait(1);


Visit my site: www.masterq32.de