Rhys, I no longer have BCB5 installed, so I'm just guessing here.
If you ripped off most of the DOMPrint example, it contains an incorrect include statement at line 93 or so. When you use the STL, you should include <string>, not <string.h>. The latter is the old style definitions which *may* simply pull in the std::basic_string definitions, or it might perform some black magic first. I think the standard says this behavior is implementation dependent. Better to just use #include <string> and avoid possibly ambiguity. You might want to post this question to borland.public.cppbuilder.language. There are some pretty knowledgeable compiler types who frequent that news group and they know the standards and expected compiler behavior far better than I. HTH, Don --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
