Reply
Thread Tools
Posts: 187 | Thanked: 41 times | Joined on May 2010
#1
I am trying to delete events from my event logger using the following code:

Code:
#include "rtcom-eventlogger/eventlogger.h"

int main (int argc, char **argv)
{
        RTComEl *el = rtcom_el_new ();
        RTComElQuery *q = rtcom_el_query_new (el);
        rtcom_el_query_prepare (q, 'remote_uid','08003201545',RTCOM_EL_OP_EQUAL, NULL);
        RTComElIter *iter = rtcom_el_get_events (el, q);
        rtcom_el_delete_events(el, q, NULL);
}
but the code locks on rtcom_el_get_events (el, q);

there is a missed call from 08003201545, so it should be deleted by this program


What am i missing ? Sorry i am starting to develop ....
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:13.