Hello,

Many of Xalan's samples redirect the program's output to stdout by passing
in "cout" as the last parameter to the "transform(...)" method.  This works
fine with the executables provided along with the binary distribution of
Xalan.  However, if I instead build the sample source-code myself using
Visual Studio 2005, I get a crash/exception whenever I execute any transform
call using "cout" as the last parameter (the attached XalanTransform.cpp has
the simplest example of this).   

theResult = theXalanTransformer.transform(argv[1], argv[2], cout);

Does anyone know why this happens and/or how to prevent it???

Thanks in advance for your time and patience,
~Dan
http://www.nabble.com/file/p25192539/XalanTransform.cpp XalanTransform.cpp 
-- 
View this message in context: 
http://www.nabble.com/Windows---samples-fail-on-%22transform%28...%29%22-when-using-%22cout%22-tp25192539p25192539.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.

Reply via email to