He again ...
I have tryed this and it does not seem to all the method ???
I will try to look further.
Code:HRESULT hresult; IDispatch FAR* pdisp = (IDispatch FAR*)NULL; DISPID dispid; OLECHAR FAR* szMember = L"BeepSound2"; hresult = spStatus.p->GetIDsOfNames(IID_NULL, &szMember, 1, LOCALE_SYSTEM_DEFAULT, &dispid); spStatus.p->Invoke(dispid, IID_NULL, LOCALE_USER_DEFAULT, DISPATCH_METHOD, NULL, NULL, NULL, NULL);
Thanks,
Chris




Reply With Quote