You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by 林 子芯 <mi...@hotmail.com> on 2002/04/18 17:21:25 UTC

problem initialising xerces C++ in a MFC project used in xalan

Hi, i was wondering anyone have bulit an example of using DOM input for
transformation in xalan-c v.1.3?
i am having problem using the DOM, in fact it causes error as soon as i
initialises the the DOMParser object (i.e. as in the example DOMParser
theParser;)
it gives an application error message: as follows:
{the instruction at "0x120168a0" referenced memory at "0x00000000". the
memory could not be "read" }
in the debugging mode it gives a message saying :- {unhandle exception at
aaa.exe (xerces-c_1_6_0.dll): 0xC0000005: Access voilation}

i was wondering has anyone have similiar problem as i did? was it simply
settings within my development environment (currently using vC+-+- 6.0 SP5
under win2000) or there are more to it, i would be grateful if someone
could help me out over this matter

Hi... just adding more information regarding this question, xerces 
is initialised at the start of the program. however i find there is one 
interesting phemonemon.... on 
the release version everything works fine with no complaint whatsoever, but 

in the debug version it complains abouts it (in fact i could not initialise 

xerces properly without calling it through the xalanCAPI, whereas the 
release version works fine with both methods of initialising from xalancAPI 

and XMLPlatformUtils::Initialize();) 

i might be totally wrong but i was wondering could it be problems with 
xerces1.6.0D.dll that comes with xalan? 

mank thanks 
Regards 
Kit 



_________________________________________________________________
使用 MSN Messenger,與朋友在線上聊天:http://messenger.msn.com.hk


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org