"MikeJohnson" <mikejohnson[ at ]volcanomail.com> wrote in news:1138745648.231865.187490[ at ]o13g2000cwo.googlegroups.com:
[Quoted Text] > IStream::Read consistently takes over two minutes(!) to return for the > first two attachments, > but it returns in only a few seconds for the subsequent attachments!
Have you tried watching network traffic (just with task manager or whatever)? I'm just guessing, but I'd suspect that once you start reading attachments MAPI begins pulling the whole lot over the network to your local PC, and it's finished doing that by the time you've read the first two attachments; the following ones go faster because they're already on your local PC somehow.
(another way to test this would be to compare two messages with (say) 1000mb of attachments; one with 5x200mb, and one with 10x100mb attachments. If I'm right about this, then the first one will speed up after the first two (maybe) attachments, the second one will speed up after the first four -- and if you change it to be 5x100mb, it'll speed up after the first one).
-- dan
|