I've added it, with the difference that it will return void, as HRESULT doesn't
seem to have any reasonable meaning in this context.

Brgds,
Viktor

On Mon, Apr 6, 2009 at 12:49 PM, Alex Strickland <[email protected]> wrote:

> toni...@fwi wrote:
>
>  There are any problem to change:
>>
>> static void hb_oleVariantToItem( PHB_ITEM pItem, VARIANT* pVariant )
>>
>> to
>> HRESULT hb_oleVariantToItem( PHB_ITEM pItem, VARIANT *pVariant );
>>
>
> I am using a HWGUI library to embed ActiveX controls. It calls
> hb_oleVariantToItem and since it is declared static in olecore.c I get a
> linker error:
>
> hbactivex.lib(c_activex.obj) : error LNK2019: unresolved external symbol
> _hb_oleVariantToItem referenced in function _inv...@36
>
> I guess the above change would fix this problem.
>
> I do see that it may cause trouble for wvgsink.c which I guess is using
> win_ole.c to for the declaration. I guess that is deprecated in view of
> Mindaugas' rewrite?
>
> Toninho, how did you resolve your problem?
>
> Regards
> Alex
>
> _______________________________________________
> Harbour mailing list
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to