Track changes in PocketOutlook

A

Achim Bohmann

Hi!

searching for the last few days in several forums and googling i did not
find what i need.

Can anybody show me how to track changes in c#, that were made in pocket
outlook?
the ListChanged event is not fired, if changes are made by other
processes like activesync or pocketoutlook itself.
the poom api wrapper
(http://www.pluralsight.com/community/blogs/jimw/archive/2007/10/18/48800.aspx)
is also not working anymore.

by now, i have no idea where to search or what to try else. may be, i am
blind and cannot see the solution right before me...

so - if someone knows how to solve this - thanks a lot!!!

best regards,
Achim
 
P

Peter Foot [MVP]

In POOM there were no change events prior to WM5.0 - you had to use CEDB
database events. With WM5.0 the window handle you pass to
IPOutlookSession.Logon will receive notification window messages if they are
turned on (on a per-folder basis). None of this functionality is included in
the Microsoft managed POOM classes. If you want to save yourself the pain
then our Mobile In The Hand product
(http://inthehand.com/content/Mobile.aspx) includes these events with a
managed API which is a superset of the Microsoft classes. Each
PimItemCollection contains ItemAdd/ItemModified etc events, and these are
enabled by setting the Notification property on each folder (Appointments,
Contacts and Tasks).

Peter

--
Peter Foot
Microsoft Device Application Development MVP
peterfoot.net | appamundi.com | inthehand.com
APPA Mundi Ltd - software solutions for a mobile world
In The Hand Ltd - .NET Components for Mobility
 
A

Achim Bohmann

Hallo Peter,

I know this - I have red many of your posting in several forums. I
understand the theory. What I would need is an example. Sure you want to
sell you InTheHand product. But for a private tool (or later may be
freeware) it's no choice to spend money, even not knowing if it ever
comes to an usable software.

So, if you are (and it seems so) the only person in the world knowing
the secrets of p-invoking the poom api, I have to finish reading my 1300
pages book from Yao/Durant hoping the poom api is mentioned somewhere...

thanks so far for your answer,
maybe some day there might be a public source - or the managed event
fires as expected ;)

Achim
 
A

Achim Bohmann

Hi Chris,

thanks a lot for this link! I saw a similar solution (and used it with
VS2005 .NET CF 2) from
http://www.pluralsight.com/community/blogs/jimw/archive/2007/10/18/48800.aspx

But after my last computer setup I have VS 2008 with .NET 3.5 and .NETCF
3.5 - and I cannot create
private ApplicationClass m_outlookAppClass = new ApplicationClass();

The compiler says, that "ApplicationClass" is missing. As I read in
another posting, I should reference an "Interop.PocketOutlook.dll" which
comes from creating the wrapper (and which is also referenced in your
projectfile). But I do not have this dll to reference, so I get compiler
errors with those types from there....

can you, please, help a little further?

to give you all information on the setup:
development WinXP, VS2008, NETCF 3.5, Target WM6.1 Pro

thanks for you time,
Achim
 
C

Chris Tacke, eMVP

I've updated my blog post to include a download for the interop assembly.

-Chris
 
A

Achim Bohmann

Hi!

Thanks a lot! I made my first tests - and it seems to work like a charme ;)

I will drop you a message (if interested) when the calendar is usable.
So you can see what your work was for...

again, thans to all who spent time solving that issue

bye, till soon,
Achim


I've updated my blog post to include a download for the interop assembly.

-Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top