Ignore:
Timestamp:
Jul 29, 2001, 9:02:35 PM (24 years ago)
Author:
sandervl
Message:

custom build updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/winimagelx.cpp

    r3993 r6401  
    1 /* $Id: winimagelx.cpp,v 1.9 2000-08-11 10:56:19 sandervl Exp $ */
     1/* $Id: winimagelx.cpp,v 1.10 2001-07-29 19:00:32 sandervl Exp $ */
    22
    33/*
     
    4242#include "dbglocal.h"
    4343
     44extern char *lpszCustomDllName; //windlllx.cpp
     45
    4446static BYTE dosHeader[] = {
    4547 0x4D, 0x5A, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x0B, 0x00,
     
    6668{
    6769 APIRET rc;
     70 char  *name;
    6871
    6972  szFileName[0] = 0;
    7073
    71   char *name = OSLibGetDllName(hinstance);
     74  if(lpszCustomDllName) {
     75       name = lpszCustomDllName;
     76  }
     77  else name = OSLibGetDllName(hinstance);
     78
    7279  strcpy(szFileName, name);
    7380  strupr(szFileName);
Note: See TracChangeset for help on using the changeset viewer.