That's my problem: I don't see any match between the two id's. Look at the
second example where the address entryid is
00000000812B1FA4BEA310199D6E00DD010F5402000001104D75737465722C204B75727400534D5450006B756D75407A69636B2E636800
The corresponding ContactItem's entryid is as follows:
000000004FE5D0522F4EB648B4A39E1DFA72F58D0700AE8EBDE02BF08D4FA2EF19D6B94F069000000001EB250000A7FA4349428AE448AE43535670036F2C000000CF000C0000
So there is obviously no prefix or suffix to delete as in example 1...
Hmmm... and you got both entry ids in the same Outlook session on the same
machine, right? I certainly don't see the same behavior in Outlook 2003,
whether it is running using PST or Exchange.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> That's my problem: I don't see any match between the two id's. Look at the
> second example where the address entryid is
00000000812B1FA4BEA310199D6E00DD010F5402000001104D75737465722C204B7572740053
4D5450006B756D75407A69636B2E636800
> The corresponding ContactItem's entryid is as follows:
000000004FE5D0522F4EB648B4A39E1DFA72F58D0700AE8EBDE02BF08D4FA2EF19D6B94F0690
00000001EB250000A7FA4349428AE448AE43535670036F2C000000CF000C0000
> So there is obviously no prefix or suffix to delete as in example 1...
>
[quoted text clipped - 9 lines]
> >> Here's a working example:
> >> sAddressEntryID:
00000000FE42AA0A18C71A10E8850B651C240000030000000400000000000000460000000000
00004FE5D0522F4EB648B4A39E1DFA72F58D0700AE8EBDE02BF08D4FA2EF19D6B94F06900000
> > 0001EB250000A7FA4349428AE448AE43535670036F2C000000CF000B0000000000
> >>
> >> fbytes gets a value of 70 and
> >> so GetContactEntryID gets a value of:
000000004FE5D0522F4EB648B4A39E1DFA72F58D0700AE8EBDE02BF08D4FA2EF19D6B94F0690
> > 00000001EB250000A7FA4349428AE448AE43535670036F2C000000CF000B0000
> >>
> >> in a non working examples I get for
> >> sAddressEntryID:
00000000812B1FA4BEA310199D6E00DD010F5402000001104D75737465722C204B7572740053
> > 4D5450006B756D75407A69636B2E636800
> >>
[quoted text clipped - 92 lines]
> >> > > > > Thanks very much for any help.
> >> > > > > Stefan
news.solnet.ch - 17 Nov 2004 21:54 GMT
I think I've found the cause for this bivalent behaviour: The "not working"
example is a contact that is created in Outook object model using a custom
contact form. On this form there is a list for defining of the family
members. These are then created using cdo. And the such created entry ids
are "working" as usual.
> Hmmm... and you got both entry ids in the same Outlook session on the same
> machine, right? I certainly don't see the same behavior in Outlook 2003,
[quoted text clipped - 156 lines]
>> >> > > > > Thanks very much for any help.
>> >> > > > > Stefan