Hi Alex,
I don't know about hbwin's OLE implementation, I thought we're talking about
new one.
In the old, it's missing/wrong extern declaration (in non-hbwin code,
because this function
was never officially made public by us), which makes caller incompatible
with now default
C++ mode in msvc. Anyhow I wouldn't like to spend any more time on the old
code,
as I hope the new one will replace it rather sooner than later.
Please try to test the new one.

HB_GT_LIB doesn't exist anymore, use this line if you absolutely need to
change the
build default:
set HB_USER_CFLAGS=-DHB_GT_LIB=win

Brgds,
Viktor


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

> Viktor Szakáts wrote:
>
>> 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.
>>
>
> Thank you, but ...
>
> I have (as I often do) got the problem wrong, I am not even using the new
> library. hb_oleVariantToItem is not visible in hbwin.lib.
>
> Looking with DUMPBIN.EXE I see in the lib a decorated name:
>
>        3 ?hb_oleVariantToItem@@YAJPAU_HB_ITEM@@PAUtagVARIANT@@@Z
>
> So I guess perhaps it was compiled in C++ mode or something?
>
> I will mess around with this as best I can, but if you know what I should
> do I would appreciate it. I compiled Harbour with MSVC 9 and these env
> variables set:
>
> set HB_ARCHITECTURE=win
> set HB_COMPILER=msvc
> set HB_GT_LIB=gtwin
> set HB_INSTALL_PREFIX=\users\alex\harbour-1.1.0
>
> Regards and thanks
>
> 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