Visual Studio + ROOT [Solved]

Hello, I would like to integrate ROOT with Visual Studio C++ (I want to write a code in VC++ and I would like to my IDE behave like ROOT). In my project in VC++, in properties section, I’ve changed:
Linker / Input / (AdditionalDependencies) C:\root\lib*lib
C++ / General / (AdditionalIncludeDirectories) : C:\root\include
and everything seems to be OK, no errors, but for example if I type:

root[2] TF1 f1("func1","sin(x)/x",0,10) root[3] f1.Draw()

nothing happens, I see only message in the console…
Why?

Thank You for any help…

//I’ve solved it