Changeset 848 for trunk/src


Ignore:
Timestamp:
Sep 6, 1999, 10:13:23 PM (26 years ago)
Author:
davidr
Message:

Removed write access when reading typelib information.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/oleaut32/typelib.cpp

    r632 r848  
    1 /* $Id: typelib.cpp,v 1.2 1999-08-22 22:08:49 sandervl Exp $ */
     1/* $Id: typelib.cpp,v 1.3 1999-09-06 20:13:23 davidr Exp $ */
    22/*
    33 *      TYPELIB
     
    987987    TLB2Header tlbHeader;
    988988    TLBSegDir tlbSegDir;
    989     if((cx.hFile=OpenFile(file, &ofStruct, OF_READWRITE))==HFILE_ERROR) {
     989    if((cx.hFile=OpenFile(file, &ofStruct, OF_READ))==HFILE_ERROR) {
    990990        ERR_(typelib)("cannot open %s error 0x%lx\n",file, GetLastError());
    991991        return E_FAIL;
Note: See TracChangeset for help on using the changeset viewer.