>From the callstack and messages to the console I input it appears that the error occurs when the method returns a new celConstantParameter (); The method returns a csPtr<iParameter> and I call the method by msg_buggy= pm->GetParameter(params, msg_par); where msg_buggy is of type csReg<iParameter>.
Therefore, what I don't understand is that the message from the assertion states that the csPtr is not assigned to a csRef but I do not understand how I can assign it before destruction if it is destroyed before it returns properly. If it helps the code is now available in my branch (/cel/branches/soc2009/quests) as of revision 3877. Kind Regards, Sam > On 02.07.2009 11:20, [email protected] wrote: >> Any suggestions as to where the problem may be rising are greatly >> appreciated. > > Together with the assert there should be a callstack printed out (or > simply run the app from within a debugger to get one), this gives you a > hint at what csPtr<> instance was supposedly never assigned to a csRef<>. > > -f.r. > > ------------------------------------------------------------------------------ > _______________________________________________ > Crystal-main mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/crystal-main > Unsubscribe: > mailto:[email protected]?subject=unsubscribe > ------------------------------------------------------------------------------ _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[email protected]?subject=unsubscribe
