25 Jul 2000 pcburns   » (Journeyer)

Reading Nymia's diary entries makes me suspect that the method used as a callback is not static. The "this" pointer is usually given as first argument of a method, unless the method is static. If you need to call methods of the class in the callback pass a pointer to an instantiation of the class. eg.

void SomeClass::callback(void* arg)
    {
    SomeClass* that = (SomeClass*)arg;
    that->SomeMethod();
    }

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!