hi czerny,
i am thankful that you are helping me out. Actully this is not my domain and i have to do it coz my boss hav assigned some task.
i made the program in win32 exe. and now i am getting the three errors
warning #2018: Undeclared function 'InitInstance'; assuming 'extern' returning 'int'.
warning #2018: Undeclared function 'rectangle'; assuming 'extern' returning 'int'.
warning #2018: Undeclared function 'EndPAint'; assuming 'extern' returning 'int'.
Building shapes.exe.
POLINK: error: Unresolved external symbol '_InitInstance'.
POLINK: error: Unresolved external symbol '_rectangle'.
POLINK: error: Unresolved external symbol '_EndPAint'.
POLINK: fatal error: 3 unresolved external(s).