← Back to team overview

kaliveda-dev team mailing list archive

[Question #250731]: Copying a KVRList between different TProcessIDs.

 

New question #250731 on KaliVeda:
https://answers.launchpad.net/kaliveda/+question/250731

I'm having some difficulty copying the entries of one KVRList object into another, I keep getting the error:

Error in <TRefArray::AddAtAndExpand>: The object at 0x9aa25f0 is not registered in the process ...

I think it's because I'm trying to copy between two different process IDs. I've tried creating the new KVRList by telling it the process ID of the source KVRList object (source copying to target):

target_kvr_list = new KVRList(TProcessID::GetProcessWithUID(source_kvr_list));
source_kvr_list->Copy(*target_kvr_list);

But the error remains. Is this the correct way to copy the KVRList object?

-- 
You received this question notification because you are a member of
KaliVeda Development Team, which is an answer contact for KaliVeda.