Re: How can i pass the <param> From HTML to ATL
<sujeeshlal@gmail.com> wrote in message
news:1169456370.710846.203030@s34g2000cwa.googlegroups.com
Also i tried this much..
I Supported 2 interfaces
public ISpecifyPropertyPagesImpl<Tester>, public
IPersistPropertyBagImpl<Tester>
BEGIN_COM_MAP(Tester)
...
COM_INTERFACE_ENTRY_IMPL(ISpecifyPropertyPages)
COM_INTERFACE_ENTRY_IMPL(IPersistPropertyBag)
...
END_COM_MAP()
BEGIN_PROPERTY_MAP(Tester)
PROP_ENTRY_EX( "UrlPath", 1, CLSID_TestPlayer, IID_ITester)
END_PROPERTY_MAP()
Does your class implement IDispatch (e.g. via a dual interface, perhaps
with the help of IDispatchImpl)? Do you mention IDispatch in your
interface map? Does the interface you implement support a property with
a DISPID of 1? Why do you list the property as "UrlPath" when the
<param> tag has the name of "strURL" ?
You may also have to implement IObjectSafety (see IObjectSafetyImpl) to
mark your class at least with INTERFACESAFE_FOR_UNTRUSTED_DATA flag.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925