Aclic not working from VS 2010

Hello,
I am using root 5.34/05 on windows 7 (using the vc++ 10 binaries) If I make a script, t.cpp and compile and load it from a normal root session window (e.g. .L t.cpp+) everything works just fine. if I launch my application (a DLL linked against various root libraries) from Visual Studio (e.g. set the Command on the Property Page–>Configuration Properties–>Debugging to $(ROOTSYS)\bin\root.exe) it creates its own root session window. However, from THIS root session window, when I type .L t.cpp+ I get:

[quote]root [1] .L t.cpp+
Info in TWinNTSystem::ACLiC: creating shared library C:\sources_2010\CompiledRoot\t_cpp.dll
Error: external preprocessing failed. (0)
!!!Removing C:\sources_2010\CompiledRoot\t_cpp_ACLiC_dict.cxx C:\sources_2010\CompiledRoot\t_cpp_ACLiC_dict.h !!!
Error: c:\root_v5.34.05_vs2010\bin\rootcint: error loading headers…
Error in : Dictionary generation failed!
Info in : Invoking compiler to check macro’s validity[/quote]I’m not sure why this is happening… Do you have any suggestions as to what I might be doing wrong? Thanks
Ed

OK, I found my problem: in VS2010’s Property Pages–>Configuration Properties–>Debugging–>Environment, I put PATH=$(ROOTSYS)\bin instead of PATH=$(ROOTSYS)\bin;$(PATH) - thinking (incorrectly) that the “Merge Environment = Yes” option would automatically do that for me… it does not.