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]

Reply via email to