I
Ian Boyd
i update my listview:
procedure RefreshStuff;
begin
szText := ContactItem.DisplayName;
szEmail := ContactItem.Email1Address;
...interrupted with IDispatch.Invoke from AllContactsItems...
"your item has been deleted"
...return...
szAddress1 := ContactItem.Address1; ***CRASH***
end;
How can i tell Outlook not to give me a notification through my IDispatch
events interface unless i am processing messages?
You can't erase an object while i'm in the middle of accessing a property of
said object. It's uncouth.
procedure RefreshStuff;
begin
szText := ContactItem.DisplayName;
szEmail := ContactItem.Email1Address;
...interrupted with IDispatch.Invoke from AllContactsItems...
"your item has been deleted"
...return...
szAddress1 := ContactItem.Address1; ***CRASH***
end;
How can i tell Outlook not to give me a notification through my IDispatch
events interface unless i am processing messages?
You can't erase an object while i'm in the middle of accessing a property of
said object. It's uncouth.