What does the error say in debug mode?
You shold see something like this:
You shold see something like this:
-------------------Configuration: 3DTest - Win32 Release-------------------- Compiling... 3DTest.cpp E:\Documents and Settings\Administrator\My Documents\Projects\Win32Projects\3DCubeGalleryRegister_MultiMonitor\3DTest.cpp(701) : error C2065: 'Regg' : undeclared identifier E:\Documents and Settings\Administrator\My Documents\Projects\Win32Projects\3DCubeGalleryRegister_MultiMonitor\3DTest.cpp(701) : error C2228: left of '.Close' must have class/struct/union type Error executing cl.exe. Creating browse info file... 3DCubeGallery.scr - 2 error(s), 0 warning(s)