Rhys, Using Dependency Walker (http://www.dependencywalker.com/) check your copy of XercesLib.dll and your application exe file. Both should be using cc32x0mt.dll where x=6 for BCB6, x=5 for BCB5, etc.
Don At 12:19 PM 4/1/2002 -0800, you wrote: >--- "Jason E. Stewart" <[EMAIL PROTECTED]> >wrote: > > "Rhys Black" <[EMAIL PROTECTED]> writes: > > > > > char *p = s.transcode(); > > > target << p; > > > return target; > > > delete [] p; > > > } > > > > > > I copied this code from the DOMPrint example. The > > > error seems to be in deleting variable p. I think > > the > > > problem is that variable p does not need to be > > > deleted, seeing as how it was not new-ed onto the > > > stack. > > > > Not true, transcode() allocates memory and it is up > > to the caller to > > free it. > > > > jas. >ah - thanks! > >I'll look into the code for transcode(), but my >compiler BCB5 throws an error message at run time that >interrupts execution at the line deleting pointer p. >When that line is deleted, there is no problem. > >Any thoughts? >~Rhys Black > > >__________________________________________________ >Do You Yahoo!? >Yahoo! Greetings - send holiday greetings for Easter, Passover >http://greetings.yahoo.com/ > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
