Hi,

i'm trying to build the Tuscany CppCalculator Sample using the supplied 
VSExpress Files and constantly getting an Error when launching it:

Unbehandelte Ausnahme bei 0x6f2403e2 in calculator_client.exe: 0xC0000005: 
Zugriffsverletzung beim Lesen an Position 0xcccccccc.

I can build the DLL and the client without errors but when i run it it crashes. 
I tried to run it directly from Visual Studio and manually with the 
runclient.bat.

>From the debugging i think it crashes when invoking Line 2 of this Code:

1: CompositeContext myContext = CompositeContext::getCurrent();
2: Calculator *calcService = (Calculator*) 
myContext.locateService("CalculatorComponent/CalculatorService");

Is it because it cant retrieve the myContext from Line 1, because it shouldnt 
crash on locating the service?!
How can i fix it? Are there any prerequirements i missed out when 
running/compiling it?
I came up with this problem when i build my own C++ Component and couldnt tell 
why it was crashing after building the code,
there must be something wrong in my configuration or the way i build the files.

Sincerely Stefan
___________________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de

Reply via email to