Changeset 363 for trunk


Ignore:
Timestamp:
Jul 22, 1999, 1:23:06 PM (26 years ago)
Author:
sandervl
Message:

* empty log message *

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/changelog

    r360 r363  
    1  /* $Id: changelog,v 1.56 1999-07-22 08:23:01 sandervl Exp $ */
     1 /* $Id: changelog,v 1.57 1999-07-22 11:22:14 sandervl Exp $ */
     2 99-07-22: Edgar Buerkle <100566.557@compuserve.com>
     3        - KERNEL32: Fix for OS2GetResource (os2util.cpp)
     4        - PE2LX: Use unique resource id for version resource.
     5
    26 99-07-22: Sander van Leeuwen <sandervl@xs4all.nl>
    37        - DDRAW: Now compiles
  • trunk/src/kernel32/os2util.cpp

    r125 r363  
    1 /* $Id: os2util.cpp,v 1.5 1999-06-19 17:58:32 sandervl Exp $ */
     1/* $Id: os2util.cpp,v 1.6 1999-07-22 11:22:42 sandervl Exp $ */
    22
    33/*
     
    193193   if(rc) {
    194194    dprintf(("OS2GetResource: Can't get resource size of %d!!!\n", id));
    195     return(0);
     195    return(FALSE);
    196196   }
    197197   rc = DosGetResource(hinstance, RT_RCDATA, id, (PPVOID)&resdata);
    198198   if(rc) {
    199199    dprintf(("OS2GetResource: Can't find resource %d!!!\n", id));
    200     return(0);
     200    return(FALSE);
    201201   }
    202202   dprintf(("OS2GetResoure: bufLength %d, size %d, id %d", bufLength, size, id));
     
    205205   DosFreeResource(resdata);
    206206
    207    return(FALSE);
     207   return(TRUE);
    208208}
    209209
  • trunk/src/pe2lx/pe.cpp

    r281 r363  
    1 /* $Id: pe.cpp,v 1.6 1999-07-07 08:11:11 sandervl Exp $ */
     1/* $Id: pe.cpp,v 1.7 1999-07-22 11:23:06 sandervl Exp $ */
    22
    33/*
     
    685685//to retrieve the original for win32's version apis
    686686//TODO: Only supports one version resource (who would want to use more??)
     687//Allocate unique id for version resource to prevent conflicts
     688                                id = OS2Exe.GetUniqueId();
    687689                                OS2Exe.SetVersionResourceId(id);
    688690                        case NTRT_RCDATA:
Note: See TracChangeset for help on using the changeset viewer.