views:

73

answers:

1

specifically WM6x, winCE5x

Now my current understanding from trawling the msdn etal is that the IMAPIAdviseSink::OnNotify callback can be made from any old thread; from (ce)mapi or perhaps even from a third-party service provider.

Under WM6x, i cannot seem to coax an in-thread response by invoking HrThisThreadAdviseSink, since while this function is declared in mapiutil.h, a definition appears not to exist (in cemapi.lib or wherever??)

~But i notice that all the OnNotify callbacks i get, derive from windows messages that i am receiving on my thread (=looks to me like an in-thread implementation in any case under cemapi)...

So, can anyone confirm that this is infact always the case -or am i just getting lucky right now?

ah, i should add that my advise source is IMAPISession::Advise (ActiveSync)

erm i should also say that i might have cross-posted this on the msdn forum -but they're mostly numptys over there,,

A: 

tsh, i just hate answering my own questions

ok then, so no-one knows; i'll be paranoid.

~even tho i think i've nothing to worry about, i should bother to make this whole silly thing totally thread-safe.

will wait the 48hrs, then (grrrr)self-propose this is as the correct answer for me. -i have deadlines & being freelance, can't afford any support downside in say three months time && i've got my pi to think about also,,,

violet313