Hello all,
Sorry to bother you again but I fixed the problem and this might
interest others: I was not using Visual C++ option "/GR" (Enable
Run-Time Type Information) and had a lot of compilation warnings. As
soon as I set the option the crash went away.
Raphael Chauvel wrote:
>
> Hello,
>
> I am running the latest version of the C/C++ library (from CVS) and have
> no problem on UNIX (Solaris and Linux), but on Windows NT I cannot make
> it work. I run exactly the same piece of code using the following type
> of call:
>
> -----------------
> char *pptrArgums[] =
> {
> (char *)"/_stylesheet", ptrStyleSheetStr,
> (char *)"/_xmlinput", ptrInputStr,
> (char *)"/_output", NULL,
> NULL
> };
>
> SablotCreateProcessor (&ptrProc);
>
> Res = SablotRunProcessor (ptrProc,
> (char *) "arg:/_stylesheet",
> (char *) "arg:/_xmlinput",
> (char *) "arg:/_output",
> NULL, pptrArgums);
>
> -----------------
>
> Did somebody experience problems on Windows too? Following is the call
> stack if that helps...Thanks in advance.
>
> -----------------
> - KERNEL32! 77f1d479()
> - CHILLI! _CxxThrowException@8 + 57 bytes
> - CHILLI! __RTDynamicCast + 383 bytes
> - Tree::appendVertex(Situation & {...}, Vertex * 0x00b4448c) line 106 +
> 26 bytes
> - TreeConstructer::tcStartElement(void * 0x0012eff0, const char *
> 0x00a57230, const char * * 0x00a57930) line 423
> - doContent(void * 0x00a57a60, int 0, const encoding * 0x004f6cf8
> utf8_encoding, const char * 0x0012af1d, const char * 0x0012b004, const
> char * * 0x00000000) line 1387 + 32 bytes
> - contentProcessor(void * 0x00a57a60, const char * 0x0012af1d, const
> char * 0x0012b004, const char * * 0x00000000) line 1077 + 30 bytes
> - doProlog(void * 0x00a57a60, const encoding * 0x004f6cf8 utf8_encoding,
> const char * 0x0012af1d, const char * 0x0012b004, int 29, const char *
> 0x0012af1d, const char * * 0x00000000) line 2351 + 21 bytes
> - prologProcessor(void * 0x00a57a60, const char * 0x0012af08, const char
> * 0x0012b004, const char * * 0x00000000) line 2209 + 36 bytes
> - prologInitProcessor(void * 0x00a57a60, const char * 0x0012af08, const
> char * 0x0012b004, const char * * 0x00000000) line 2198 + 21 bytes
> - XML_Parse(void * 0x00a57a60, const char * 0x0012af08, int 252, int 1)
> line 894 + 40 bytes
> - TreeConstructer::feedDocumentToParser(Situation & {...}, void *
> 0x0012eff0) line 337 + 27 bytes
> - TreeConstructer::parseDataLineUsingGivenExpat(Situation & {...}, Tree
> * 0x00a57da0, DataLine * 0x00a56070, void * 0x00a57a60) line 83 + 13
> bytes
> - TreeConstructer::parseDataLineUsingExpat(Situation & {...}, Tree *
> 0x00a57da0, DataLine * 0x00a56070) line 120 + 27 bytes
> - Tree::parse(Situation & {...}, DataLine * 0x00a56070) line 585 + 20
> bytes
> - Processor::addLineParse(Situation & {...}, Tree * & 0x00000000, Str &
> {...}, int 1) line 549 + 30 bytes
> - Processor::readTreeFromURI(Situation & {...}, Tree * & 0x00000000,
> const Str & {...}, const Str & {...}, int 1) line 594 + 24 bytes
> - Processor::open(Situation & {...}, char * 0x00528040, char *
> 0x00528030) line 270 + 44 bytes
> - SablotRunProcessor(void * 0x00a56620, char * 0x00528040, char *
> 0x00528030, char * 0x00528020, char * * 0x00000000, char * * 0x0012f1ac)
> line 399 + 20 bytes
>
> --
>
> Raphael Chauvel
> Project Leader
> Metrix Systems
>
> 15, Traverse des Brucs
> F - 06560 Sophia Antipolis
> Tel: +33 4 92 38 13 44
> Fax: +33 4 92 38 13 01
> mailto:[EMAIL PROTECTED]
--
Raphael Chauvel
Project Leader
Metrix Systems
15, Traverse des Brucs
F - 06560 Sophia Antipolis
Tel: +33 4 92 38 13 44
Fax: +33 4 92 38 13 01
mailto:[EMAIL PROTECTED]