D
Doru K
Hi,
I'm writting(in VC++, but it's not a specific problem for VC++ an
add-in for Outlook, and I have the following problem: In Outlook 2000, I
get an error on this line:
HRESULT hr = spItems->Find(T2W("[ReceivedTime] >= 'July 29,2004 11:37
PM'"), &spMail);
and hr = -1040056311 (0xc2020009)
This is even stranger as this code works nice in Outlook XP and Outlook
2003. The problem is somewhere at the [ReceivedTime] formatting
(although I read http://www.outlookcode.com/d/finddate.htm and the
string is exactly formed to match those guidelines). The Find works fine
for, i.e.: Find(T2W("[UnRead]=true"), &spMail).
Any suggestions would be highly appreciated.
Thanks,
Doru
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I'm writting(in VC++, but it's not a specific problem for VC++ an
add-in for Outlook, and I have the following problem: In Outlook 2000, I
get an error on this line:
HRESULT hr = spItems->Find(T2W("[ReceivedTime] >= 'July 29,2004 11:37
PM'"), &spMail);
and hr = -1040056311 (0xc2020009)
This is even stranger as this code works nice in Outlook XP and Outlook
2003. The problem is somewhere at the [ReceivedTime] formatting
(although I read http://www.outlookcode.com/d/finddate.htm and the
string is exactly formed to match those guidelines). The Find works fine
for, i.e.: Find(T2W("[UnRead]=true"), &spMail).
Any suggestions would be highly appreciated.
Thanks,
Doru
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!