Changeset 2254 for trunk/src


Ignore:
Timestamp:
Dec 29, 1999, 7:51:45 PM (26 years ago)
Author:
sandervl
Message:

Added version resource

Location:
trunk/src
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gdi32/initterm.cpp

    r951 r2254  
    1 /* $Id: initterm.cpp,v 1.7 1999-09-15 23:26:06 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.8 1999-12-29 18:51:45 sandervl Exp $ */
    22
    33/*
     
    3939void CDECL _ctordtorInit( void );
    4040void CDECL _ctordtorTerm( void );
     41
     42 //Win32 resource table (produced by wrc)
     43 extern DWORD _Resource_PEResTab;
    4144}
    4245
     
    8184         /*******************************************************************/
    8285
    83          if(RegisterLxDll(hModule, 0, 0) == FALSE)
     86         if(RegisterLxDll(hModule, 0, (PVOID)&_Resource_PEResTab) == FALSE)
    8487                return 0UL;
    8588
  • trunk/src/gdi32/makefile

    r2049 r2254  
    1 # $Id: makefile,v 1.14 1999-12-09 16:49:45 cbratschi Exp $
     1# $Id: makefile,v 1.15 1999-12-29 18:51:45 sandervl Exp $
    22
    33#
     
    1919CXXFLAGS = $(CXXFLAGS) -I$(PDWIN32_INCLUDE)
    2020
     21RC = $(PDWIN32_TOOLS)\wrc
     22RCFLAGS = -s -I. -I$(CPPMAIN)\include -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win
     23
    2124
    2225TARGET = gdi32
    2326
    24 OBJS =  gdi32.obj opengl.obj callback.obj dibsect.obj initterm.obj \
     27OBJS =  gdi32.obj opengl.obj callback.obj dibsect.obj initterm.obj resource.obj \
    2528        oslibgdi.obj font.obj text.obj palette.obj line.obj oslibgpi.obj
    2629
     
    4346    $(IMPDEF) $** $@
    4447
     48resource.asm: gdi32.rc
     49    $(RC) $(RCFLAGS) -o resource.asm gdi32.rc
     50
     51resource.obj: resource.asm
    4552
    4653
     
    8188
    8289clean:
    83         $(RM) *.obj *.lib *.dll *.map *.pch
     90        $(RM) *.obj *.lib *.dll *.map *.pch resource.asm
    8491        $(RM) $(PDWIN32_BIN)\$(TARGET).dll
    8592        $(RM) $(PDWIN32_LIB)\$(TARGET).lib
Note: See TracChangeset for help on using the changeset viewer.