UCONV bug - OS2

This is a discussion on UCONV bug - OS2 ; Hi folks, any ideas why UniCreateUconvObject() fails with ULS_NOMEMORY after 65535 loops ? UconvObject conv; int u, rc; for( u = 0; u { rc = UniCreateUconvObject((UniChar *)L"@path=no,map=crlf", &conv); if( rc ) { printf("UniCreateUconvObject failed after %u calls: %08x\n", u, ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: UCONV bug

  1. UCONV bug

    Hi folks,


    any ideas why UniCreateUconvObject() fails with ULS_NOMEMORY
    after 65535 loops ?



    UconvObject conv;
    int u, rc;

    for( u = 0; u < 20000000; u++ )
    {
    rc = UniCreateUconvObject((UniChar *)L"@path=no,map=crlf", &conv);

    if( rc )
    {
    printf("UniCreateUconvObject failed after %u calls: %08x\n", u,
    rc);
    break;
    }


    rc = UniFreeUconvObject(conv);

    if( rc )
    {
    printf("UniFreeUconvObject failed after %u calls: %08x\n", u, rc);
    break;
    }
    }




    --
    Ruediger "Rudi" Ihle [S&T Systemtechnik GmbH, Germany]
    http://www.s-t.de
    Please remove all characters left of the "R" in my email address


  2. Re: UCONV bug

    On Wed, 21 May 2008 14:15:59 UTC in comp.os.os2.programmer.misc, "Ruediger Ihle"
    wrote:

    > any ideas why UniCreateUconvObject() fails with ULS_NOMEMORY
    > after 65535 loops ?


    Your copy of uconv.dll is too old.

    --
    Trevor Hemsley, Brighton, UK
    Trevor dot Hemsley at ntlworld dot com

  3. Re: UCONV bug

    On Wed, 21 May 2008 18:11:47 UTC, "Trevor Hemsley"
    wrote:

    > Your copy of uconv.dll is too old.



    The version of UCONV.DLL showing the problem is dated 12.10.2000

    Vendor: IBM
    Revision: 14.57
    File Version: 14.57
    Description: Unicode Conversion Functions - Copyright IBM Corp.,
    1994, 1997


    Is there a fixpack addressing this issue ?



    --
    Ruediger "Rudi" Ihle [S&T Systemtechnik GmbH, Germany]
    http://www.s-t.de
    Please remove all characters left of the "R" in my email address


  4. Re: UCONV bug

    On Thu, 22 May 2008 06:15:08 UTC, "Ruediger Ihle" wrote:

    > > Your copy of uconv.dll is too old.

    >
    > The version of UCONV.DLL showing the problem is dated 12.10.2000
    >
    > Vendor: IBM
    > Revision: 14.57
    > File Version: 14.57
    > Description: Unicode Conversion Functions - Copyright IBM Corp.,
    > 1994, 1997
    >
    > Is there a fixpack addressing this issue ?


    You need 14.83 or later. This should be included in Warp 4 FixPak 17 or
    Convenience Pak FixPak 3.

    If you don't have access to either, there's a testfix version that was made
    available on the Innotek support forums at one time, you might see if you
    can track that down.


    --
    Alex Taylor
    Fukushima, Japan
    http://www.socis.ca/~ataylo00

    Please take off hat when replying.

  5. Re: UCONV bug

    Alex Taylor schrieb:
    >
    > On Thu, 22 May 2008 06:15:08 UTC, "Ruediger Ihle" wrote:
    >
    > > > Your copy of uconv.dll is too old.

    > >
    > > The version of UCONV.DLL showing the problem is dated 12.10.2000
    > >
    > > Vendor: IBM
    > > Revision: 14.57
    > > File Version: 14.57
    > > Description: Unicode Conversion Functions - Copyright IBM Corp.,
    > > 1994, 1997
    > >
    > > Is there a fixpack addressing this issue ?

    >
    > You need 14.83 or later. This should be included in Warp 4 FixPak 17 or
    > Convenience Pak FixPak 3.
    >


    The one I have is 14.93 .

    Hendrik

+ Reply to Thread