done.
For now I’ve compared the Call-Stack of the MegaSample-Server and mine:
MegaSample looks like this:
MEGADEMO with PerClientFacrory:
SYC_CPBuffer_Impl.TSYC_CPBuffer.DoScan(42205)
System.Rtti.RawInvoke(???,???)
System.Rtti.Invoke($1021084,((($101FFBC, Pointer($1044DAC) as IValueData, 48, 40752, 106995504, $6609F30, TClass($6609F30), 48, -24784, 106995504, 4,2246670037828e-35, 5,28628027858697e-316, 0,00000000039002e-4933, 106995504, 10699,5504, 106995504, 106995504, ($6609F30, nil), $6609F30)), (($402D1C, Pointer($1044DAC) as IValueData, 0, 0, 0, nil, nil, 0, 0, 0, 0, 42205, 1,70450748504715e-4932, 4,67603342461449e+18, 467603342461449, 4676033424614490112, 4676033424614490112, (nil, $40E49BA0), nil))),ccReg,nil,False,False)
System.Rtti.TRttiInstanceMethodEx.DispatchInvoke((($101FFBC, Pointer($1044DAC) as IValueData, 48, 40752, 106995504, $6609F30, TClass($6609F30), 48, -24784, 106995504, 4,2246670037828e-35, 5,28628027858697e-316, 0,00000000039002e-4933, 106995504, 10699,5504, 106995504, 106995504, ($6609F30, nil), $6609F30)),(…))
System.Rtti.TRttiMethod.Invoke($6609F30,(…))
uRORTTIServerSupport.TRORTTIInvoker.RTTIInvoke(TSYC_CPBuffer($660A010) as IInterface,TROBinMessage($5D33FA4) as IROMessage,TROSCServerWorker($5566410) as IROTransport,)
**uROServer.TROInvoker.CustomHandleMessage(**TROPerClientClassFactory($5617FBC) as IROClassFactory,TROBinMessage($5D33FA4) as IROMessage,TROSCServerWorker($5566410) as IROTransport,)
:
Up to TROInvoker.CustomHandleMessage it is same. After that RTTI is invoked on my server. I guess that is where the problems come from, but don’t know how to avoid this.