#40 Several fixes of bugs in Jacob

1.16 Accepted
closed-accepted
nobody
5
2011-12-06
2011-07-25
Sergiy Yakovyn
No

Fixes:

build.xml
- Placed JacobVersion.properties into ${release.dir.java.meta.inf} instead of
the current folder;
- com/jacob/test/safearray/SafeArrayBasicTest.java is compiled separately,
because it is in UTF-16 encoding

EnumVariant.cpp
- Added initializing Variant used to retrieve the next value from IEnum
because some implemenations call VariantClear on it before setting a new value

StdAfx.h
- Changed _WIN32_WINNT to 0x0500 to fix build with VS2010

Variant.cpp
- Fixed the leak in Java_com_jacob_com_Variant_putVariantNoParam

EnumVariant.java
- Added Dispatch.Method to the invoke flags to call _NewEnum. There are some
nonconforming legacy implementations that expose _NewEnum as a method.

Discussion

  • Sergiy Yakovyn
    Sergiy Yakovyn
    2011-07-25

     
    Attachments
  • clay_shooter
    clay_shooter
    2011-10-01

    This will show up in1.16 M1

     
  • clay_shooter
    clay_shooter
    2011-10-01

    • milestone: --> 1.16 Accepted
    • status: open --> pending-accepted
     
  • clay_shooter
    clay_shooter
    2011-12-06

    • status: pending-accepted --> closed-accepted