Hello, That version of the source code and sample should compile and run without problems, since the code has not changed for quite some time now. I will download that version of the source code and try to compile and run it myself to see if there is a problem.
You are compiling the code correctly. Have you tried compiling on Linux? Another option would be to try the latest version of the code, referred to as subversion head. You can compile that version of the code with apache ant. You can download the latest as follows: svn co https://svn.apache.org/repos/asf/incubator/tuscany/cpp/sca <your local sdo dir> svn co https://svn.apache.org/repos/asf/incubator/tuscany/cpp/sca <your local sca dir> -------------------- Brady Johnson Lead Software Developer - HydraSCA Rogue Wave Software - [EMAIL PROTECTED] -----Original Message----- From: Максим Харичкин [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 30, 2007 9:10 AM To: [email protected] Subject: Running CppCalculator I ask you about C++ Calculator Sample [SCA Native Milestone release 3]. I downloaded and deployed binary release for Windows. Then I ran binary sample - all was ok. After that I used Visual C++ 2005 for building source sample and started debugging with parameters. The process was broken with "Unhandled exception at 0x78180312 (msvcr80.dll) in calculator_client.exe: 0xC0000005: Access violation reading location 0xcccccccc." on line "Calculator *calcService = (Calculator*) myContext.locateService("CalculatorComponent/CalculatorService");" and the end of mylogfile.txt was "... ... 9204:9232 >> tuscany::sca::cpp::CompositeContextImpl::CompositeContextImpl 9204:9232 << tuscany::sca::cpp::CompositeContextImpl::CompositeContextImpl 9204:9232 >> osoa::sca::CompositeContext::CompositeContext 9204:9232 << osoa::sca::CompositeContext::CompositeContext 9204:9232 << osoa::sca::CompositeContext::getCurrent 9204:9232 >> osoa::sca::CompositeContext::locateService 9204:9232 >> tuscany::sca::cpp::CompositeContextImpl::locateService 9204:9232 >> tuscany::sca::model::Composite::findComponentService" My questions are: What cause is in this exception? Hou to compile the c++ sourse sample files? P.S. Excuse me for my crude english. --------------------------------------------------------------------- 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]
