I have a problem with the function PtListReplaceItemPos, when I am replacing
more than 8 elements in one time, my program crash. If instead I’m using
DeleteAllItems and the AddItems, I have no problem with my application but
if a line was highlighted I lose it, so I really need PtListReplaceItemPos.
I’m using PtEnter(Pt_EVENT_PROCESS_ALLOW) and PtLeave() in the 2 cases.
Someone can figure out what could be my problem?
Thank you.
P.S. I have verify all the data that I passed to the function and they are
exact.
I have a problem with the function PtListReplaceItemPos, when I am
replacing
more than 8 elements in one time, my program crash. If instead I’m using
DeleteAllItems and the AddItems, I have no problem with my application but
if a line was highlighted I lose it, so I really need
PtListReplaceItemPos.
I’m using PtEnter(Pt_EVENT_PROCESS_ALLOW) and PtLeave() in the 2 cases.
Someone can figure out what could be my problem?
Thank you.
P.S. I have verify all the data that I passed to the function and they are
exact.
Could you please send me a small test case that reproduces the problem?
I’ll run some tests with it and let you know what I find. Could you also
send the output from ‘uname -a’ please?
I have a problem with the function PtListReplaceItemPos, when I am
replacing
more than 8 elements in one time, my program crash. If instead I’m using
DeleteAllItems and the AddItems, I have no problem with my application but
if a line was highlighted I lose it, so I really need
PtListReplaceItemPos.
I’m using PtEnter(Pt_EVENT_PROCESS_ALLOW) and PtLeave() in the 2 cases.
Someone can figure out what could be my problem?
Thank you.
P.S. I have verify all the data that I passed to the function and they are
exact.