Re: Browser Redirection



Thanks for all your help, but that code you sent is still not working.

I've tried passing as POST data:

1) V_VARIANTREF(&pDispParams->rgvarg[2])
2) (pDispParams->rgvarg[2].pvarVal)
3) (pDispParams->rgvarg[2].pvarVal)->pvarVal
4) &pDispParams->rgvarg[2]

I've tried to change the VARIANT type; I've tried to use a
CComVariant to extract the VARIANT and then detach it.

But nothing seems to work.

Any ideas ??


>
> The POST data comes wrapped in an extra level of indirection, as a
> VT_VARIANT | VT_BYREF parameter. Remove this level when passing to
> Navigate2.
.



Relevant Pages

  • Re: Browser Redirection
    ... > I've tried passing as POST data: ... > I've tried to change the VARIANT type; ... With sufficient thrust, pigs fly just fine. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Can you pass components through a COM interface via VARIANT type?
    ... > interface method. ... > means of passing the component. ... Pass a pointer as VT_UNKNOWN or VT_DISPATCH variant type. ... can simply have an method parameter that is an interface pointer. ...
    (microsoft.public.win32.programmer.ole)