Thanks, mike :>}
Thanks, Gorgoroth. Looks like a bug to me as well. Not sure why MS
hasn't updated that KB entry. The previous code only worked if you
were modifying a file that already had document summary properties...
That section of code should look similar to the CustomProperties code:
CDsoDocProperty* pchain = NULL;
VARIANT var; var.vt = VT_EMPTY;
// If we are adding item to existing list, append the item...
if (plast) pchain = plast->AppendLink(pitem);
if (FAILED(pitem->InitProperty(NULL, id, &var, TRUE,
pchain)))
ken
Whoops...also remember to change this line:
if ((pitem == NULL) && (fAppendNew))
to take out the (pLast == NULL) check...
Could someone please send me a copy of the patched file? I don't have
the expertise or the tools to correct the problem myself?
Thanks in advance!
On 11 Dec 2006, 22:05, "carsten.luen...@googlemail.com"
<carsten.luen...@googlemail.com> wrote:
> Or maybe you can send me a copy of the project so that I can see my
> errors and
> learn from them. Thanks a lot.
>
> carsten.luen...@googlemail.com schrieb:
>
>
>
> > Can you send me a copy of this new dll because I don't know how to fix
> > the problem?
>
> > Ken schrieb:
> > > to take out the (pLast == NULL) check...- Hide quoted text -- Show quoted text -