#include #include class Class_1 { public: Class_1 () { } }; struct STR_1 { int x, y, z; } Class_1 class_var; int abc, xyz; int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPInst, LPSTR sCmd, int nCmd) { abc = 0; class_var = new Class_1(); return 0; } void CallBack_1 () { xyz = abc; }