c++ windows application form

I'm a begginer in C++ and I downloaded the Visual studio 2010 express to design a Windows application form. I'm trying to display in a XY-chart the X and Y coordinates of a real-time variable that is constantly updated in a win32 console application. Do you know how can i do it? Can i just add a new project to my solution? But then I don't know how to "pick up" the variable. Do I need a dataBase like MySql?

Thank you in advance
Topic archived. No new replies allowed.