Hi Kamalkishor, I'm assuming that you are running the application from within the VS2005 environment (in debug mode). If this is the case, check the following setting: Debugging->Working Directory
If this is empty, then change it to point to the directory in which the xml files exist. Try again. So did you get xalan to compile in debug mode, i.e. Xalan-C_1_10D.lib? I had some troubles compiling the debug version, so I'm sticking to the release version. This required me to change a number of settings to compile the ExternalFunction.exe (library input paths, etc). So, I was using the release version of xerces/xalan and the debug version of the ExternalFunction project. I'm just wondering if this could be a debug version issue. Cheers, Hans Smit -----Original Message----- From: kgarg [mailto:[EMAIL PROTECTED] Sent: Monday, October 08, 2007 2:02 PM To: xalan-c-users@xml.apache.org Subject: Xalan & Xerces-c build with VS2005 crashes runtime throughing exception... Hi All, I have build Xalan 1.10.0 & Xerces-c 2.7.0 with VS2005 successfully.But it does not work for me. When I try to run sample test programs of Xalan,It crashes throughing some exceptions each time.I don't know what is going wrong.I have taken care of all compilation similarities needed to run these togather(i.e. W_Chart issue,multithreding & other compilation settings for both are exactly same.).All environment variables,include path,library path settings are also as per mentions on forum. For e.g. when I try to run ExternalFunction following exception is through. 'ExternalFunction.exe': Loaded 'D:\Kamalkishor\Xalan\xml-xalan_WorkingWithVC8_ChangesByMe\c\Build\Win32 \VC8\Debug\ExternalFunction.exe', Symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\ntdll.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\kernel32.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'D:\Kamalkishor\Xalan\xml-xalan_WorkingWithVC8_ChangesByMe\c\Build\Win32 \VC8\Debug\xerces-c_2_7D.dll', Symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\ws2_32.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\msvcrt.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\ws2help.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\advapi32.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\rpcrt4.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727. 42_x-ww_f75eb16c\msvcr80d.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'D:\Kamalkishor\Xalan\xml-xalan_WorkingWithVC8_ChangesByMe\c\Build\Win32 \VC8\Debug\Xalan-C_1_10D.dll', Symbols loaded. 'ExternalFunction.exe': Loaded 'D:\Kamalkishor\Xalan\xml-xalan_WorkingWithVC8_ChangesByMe\c\Build\Win32 \VC8\Debug\XalanMessages_1_10D.dll', Binary was not built with debug information. 'ExternalFunction.exe': Loaded 'C:\WINNT\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8b3b9a1e18e3b_8.0.50727. 42_x-ww_f75eb16c\msvcp80d.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\entapi.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\user32.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\gdi32.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\psapi.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\netapi32.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\imm32.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\lpk.dll', No symbols loaded. 'ExternalFunction.exe': Loaded 'C:\WINNT\system32\usp10.dll', No symbols loaded. 'ExternalFunction.exe': Unloaded 'C:\WINNT\system32\entapi.dll' 'ExternalFunction.exe': Unloaded 'C:\WINNT\system32\netapi32.dll' 'ExternalFunction.exe': Unloaded 'C:\WINNT\system32\psapi.dll' First-chance exception at 0x7c812a5b in ExternalFunction.exe: Microsoft C++ exception: xercesc_2_7::RuntimeException at memory location 0x0012f978.. The program '[2872] ExternalFunction.exe: Native' has exited with code 0 (0x0). At dos prompt it says like application is failed to read foo.xml. but the file is present on same path as of exe. I don't know what is wrong with & with what?Xalan or Xercesc.But every time exception is from Xercesc.So i think there is something wrong with it only.Plz help me as soon as possible as this is very urgent for me. If possible just send me whole working projects with source code of Xalan 1.10.0 & Xercesc 2.7.0 which complies in VS2005. Note : I need to run XalanTransform application using this.Plz send working source code plz. Any help & suggessions will be appreciated.Plz help me out...this is very urgent for me. Thanks & Regards, Kamalkishor -- View this message in context: http://www.nabble.com/Xalan---Xerces-c-build-with-VS2005-crashes-runtime -throughing-exception...-tf4587696.html#a13095116 Sent from the Xalan - C - Users mailing list archive at Nabble.com. -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: 07/10/2007 18:12 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: 10/7/2007 6:12 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.4/1056 - Release Date: 10/7/2007 6:12 PM