I am writing a Pocket PC application containing two different threads. The threads communicates through two CObLists. Each thread creates objects (using the new operator) and adds them to one of the lists.
The other thread then removes the objects from the list, reads and deletes them. The lists are protected by semaphors.
The problem is that I get an error message of type 8x0000002 (datatype misalignemnt) when deleting the objects taken from one of the lists. This error does not ocuur every time list objects are deleted but rather quite randomly about one time out of ten.
Does anyone recognize this problem?
Regards,
Ulrika
The other thread then removes the objects from the list, reads and deletes them. The lists are protected by semaphors.
The problem is that I get an error message of type 8x0000002 (datatype misalignemnt) when deleting the objects taken from one of the lists. This error does not ocuur every time list objects are deleted but rather quite randomly about one time out of ten.
Does anyone recognize this problem?
Regards,
Ulrika