Ah, now it makes sense. I've never seen anyone put a loop like that into a function called "registerCallback" before
I thought you meant you registered the callback and then there was a thread in the DDL that called it.
Why don't you just do away with the callback and put a loop in the mangled ^H^H^H^H aged code to call "getSomeData" every two seconds? That way you could perhaps pass in a reference to the destination structure and the marshalling would go more smoothly.
I thought you meant you registered the callback and then there was a thread in the DDL that called it.
Why don't you just do away with the callback and put a loop in the mangled ^H^H^H^H aged code to call "getSomeData" every two seconds? That way you could perhaps pass in a reference to the destination structure and the marshalling would go more smoothly.
Comment