SHOW("Nothing wrong so far. Now: memset");
// Initialize objects
m_Object = new OBJECT[m_usCubes];
//ZeroMemory(m_Object, sizeof(OBJECT)*m_usCubes);
memset(m_Object, 0, sizeof(OBJECT)*m_usCubes);
// Angle between objects in radians.
SHOW("It works!");
On my DELL win98 computer both Messageboxes show up in both release and debug mode, but on the compaq computer it only works in debug mode ! In release mode something happend between the messagebox calls. I get crazy
If somebody know why please, please...
Gandalf the WhiteYou'll find a golden ring... Edited by - Gandalf on 7/5/00 11:53:17 AM Edited by - Gandalf on 7/5/00 11:53:55 AM Edited by - Gandalf on 7/5/00 11:54:24 AM