Changeset 510 for trunk/src/kernel32
- Timestamp:
- Aug 16, 1999, 6:28:05 PM (26 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/initterm.cpp
r142 r510 1 /* $Id: initterm.cpp,v 1. 7 1999-06-21 08:21:55 phallerExp $ */1 /* $Id: initterm.cpp,v 1.8 1999-08-16 16:28:02 sandervl Exp $ */ 2 2 3 3 /* … … 35 35 #include <wprocess.h> 36 36 #include "handlemanager.h" 37 38 extern "C" {39 /*-------------------------------------------------------------------*/40 /* _CRT_init is the C run-time environment initialization function. */41 /* It will return 0 to indicate success and -1 to indicate failure. */42 /*-------------------------------------------------------------------*/43 int CDECL CRT_init(void);44 /*-------------------------------------------------------------------*/45 /* _CRT_term is the C run-time environment termination function. */46 /* It only needs to be called when the C run-time functions are */47 /* statically linked. */48 /*-------------------------------------------------------------------*/49 void CDECL CRT_term(void);50 void CDECL _ctordtorInit( void );51 void CDECL _ctordtorTerm( void );52 }53 37 54 38 /*-------------------------------------------------------------------*/ … … 97 81 { 98 82 case 0 : 99 100 /*******************************************************************/101 /* The C run-time environment initialization function must be */102 /* called before any calls to C run-time functions that are not */103 /* inlined. */104 /*******************************************************************/105 106 if (CRT_init() == -1)107 return 0UL;108 _ctordtorInit();109 110 83 dprintf(("kernel32 init\n")); 111 84 CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed 98-03-18 05:28:48*/ … … 115 88 /*******************************************************************/ 116 89 117 rc = DosExitList(0x0000F F00|EXLST_ADD, cleanup);90 rc = DosExitList(0x0000F000|EXLST_ADD, cleanup); 118 91 if (rc) 119 92 return 0UL; … … 147 120 { 148 121 dprintf(("kernel32 exit %d\n", ulReason)); 149 _dump_allocated(10); /*PLF Wed 98-03-18 23:55:07*/150 122 DestroyTIB(); 151 _ctordtorTerm();152 CRT_term();153 123 DosExitList(EXLST_EXIT, cleanup); 154 124 return ; -
trunk/src/kernel32/makefile
r486 r510 1 # $Id: makefile,v 1.1 7 1999-08-12 14:20:29sandervl Exp $1 # $Id: makefile,v 1.18 1999-08-16 16:28:02 sandervl Exp $ 2 2 3 3 # … … 85 85 86 86 $(TARGET).dll: $(OBJS) $(TARGET).def 87 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) sbsstub.obj $(TARGET).def $(PDWIN32_LIB)\PMWINX.LIB $(PDWIN32_LIB)\LIBULS.LIB $(PDWIN32_LIB)\LIBCONV.LIB $(PDWIN32_LIB)/odincrt.lib OS2386.LIB87 $(LD) $(LDFLAGS) -Fm -Fe$@ $(OBJS) $(TARGET).def $(PDWIN32_LIB)\PMWINX.LIB $(PDWIN32_LIB)\LIBULS.LIB $(PDWIN32_LIB)\LIBCONV.LIB $(PDWIN32_LIB)/odincrt.lib OS2386.LIB cppom30O.lib 88 88 rc -r console.rc console.res 89 89 rc console.res $@
Note:
See TracChangeset
for help on using the changeset viewer.