I am trying to use the CRect to create a rectangle.
    While compiling the below mentioned Code
    #include <windows.h>
    #include <atltypes.h>
    CRect rectRgn;
    int main()
    {
      ///////////// some line of code
    }
I am getting linker error in that. error LNK2019: unresolved external symbol "public: __thiscall CRect::CRect(void)" (??0CRect@@QAE@XZ) referenced in function "void __cdecl `dynamic initializer for 'rectRgn''(void)" (??__ErectRgn@@YAXXZ)
Here is the link from MSDN on CRect. https://msdn.microsoft.com/en-us/library/9y3502k0.aspx I have included the atltypes.h Header. Please provide your input. Thanks in advance.
