Howdy,
I have a activex control that I've written using ATL, and am running into a somewhat serious and confusing problem.
when iDispatch::Invoke is called with DISPATCH_PROPERTYPUT/METHOD everything is fine..
when a return a value to javascript/ie after a method call of a VT_BSTR/with a valid BSTR it works fine and has been.
but when I try var stringValue = Object.stringValue which calls iDispatch/Invoke with the DISPATCH_PROPERTYGET flag and i set the return value to VT_BSTR with a valid BSTR (the exact same one i use with the method calls)
I get a permission denied error box in IE..
now when I return various other datatypes (longs.integers.bool's ..etc) to javascript/ie it works fine (with propertyget / method)
i only get permission denied when returning VT_BSTR
any ideas?/tips?