On Fri, 27 Nov 2009, Alex Strickland wrote:

Hi,

> It may be better to replace the lines at the end of hb_oleVariantToItem
>       default:
>          hb_itemClear( pItem );
> with a run time error?

It should be real OLE users decision. Do you prefer RT error when unknown
OLE item is received or ignoring it and translation to NIL. I can only
guess that it may depend on context and sometime user will prefer RTE
and sometimes NIL.
Seems that the most universal solution is adding well documented RTE
which can substitute result so it can be easy caught by user and if
necessary he can set his own preferable value for such unknown OLE variant.
What it group opinion here?

best regards,
Przemek
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to