Changeset 1252 for trunk/src


Ignore:
Timestamp:
Oct 11, 1999, 10:17:11 PM (26 years ago)
Author:
sandervl
Message:

Added version info, compile resource with wrc (shell about fixed), call Wine dll entrypoint

Location:
trunk/src/shell32
Files:
1 added
5 edited

Legend:

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

    r1214 r1252  
    1 /* $Id: initterm.cpp,v 1.8 1999-10-09 11:13:19 sandervl Exp $ */
     1/* $Id: initterm.cpp,v 1.9 1999-10-11 20:17:10 sandervl Exp $ */
    22
    33/*
     
    4141}
    4242
     43extern "C" {
     44 //Win32 resource table (produced by wrc)
     45 extern DWORD _Resource_PEResTab;
     46}
     47
     48BOOL WINAPI Shell32LibMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad);
     49
    4350/*-------------------------------------------------------------------*/
    4451/* A clean up routine registered with DosExitList must be used if    */
     
    8188         /*******************************************************************/
    8289
    83          if(RegisterLxDll(hModule, 0, 0) == FALSE)
     90         if(RegisterLxDll(hModule, Shell32LibMain, (PVOID)&_Resource_PEResTab) == FALSE)
    8491                return 0UL;
    8592
  • trunk/src/shell32/makefile

    r1214 r1252  
    1 # $Id: makefile,v 1.12 1999-10-09 11:13:19 sandervl Exp $
     1# $Id: makefile,v 1.13 1999-10-11 20:17:10 sandervl Exp $
    22
    33#
     
    2020
    2121
     22RC = wrc
     23RCFLAGS = -s -I. -If:\ibmcpp\include -I$(PDWIN32_INCLUDE) -I$(PDWIN32_INCLUDE)\win
     24
    2225TARGET = shell32
    2326
     
    2932        shellord.obj shellpath.obj shv_bg_cmenu.obj \
    3033        shlfolder.obj shlview.obj shell.obj unknown.obj misc.obj \
    31         she.obj sh.obj
     34        she.obj sh.obj resource.obj
    3235
    3336all: $(TARGET).dll $(TARGET).lib
     
    5154        $(IMPDEF) $** $@
    5255
     56resource.asm: shres.rc
     57    $(RC) $(RCFLAGS) -o resource.asm shres.rc
     58
     59resource.obj: resource.asm
    5360
    5461
  • trunk/src/shell32/shell32_En.rc

    r1215 r1252  
    1 /* $Id: shell32_En.rc,v 1.2 1999-10-09 11:17:01 sandervl Exp $ */
     1/* $Id: shell32_En.rc,v 1.3 1999-10-11 20:17:11 sandervl Exp $ */
    22LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
    33
     
    1111 ICON "", 1088, 189, 10, 14, 16
    1212 LTEXT "", 100, 8, 10, 137, 33
    13  LTEXT "Wine was brought to you by:", 98, 8, 55, 137, 10
     13 LTEXT "Odin was brought to you by:", 98, 8, 55, 137, 10
    1414}
    1515
  • trunk/src/shell32/shell32_main.cpp

    r1215 r1252  
    1 /* $Id: shell32_main.cpp,v 1.2 1999-10-09 11:17:03 sandervl Exp $ */
     1/* $Id: shell32_main.cpp,v 1.3 1999-10-11 20:17:11 sandervl Exp $ */
    22/*
    33 *                              Shell basics
     
    837837
    838838INT             shell32_ObjCount = 0;
    839 HINSTANCE       shell32_hInstance;
     839HINSTANCE       shell32_hInstance = 0;
    840840HIMAGELIST      ShellSmallIconList = 0;
    841841HIMAGELIST      ShellBigIconList = 0;
  • trunk/src/shell32/shres.rc

    r1215 r1252  
    1 /* $Id: shres.rc,v 1.2 1999-10-09 11:17:07 sandervl Exp $ */
     1/* $Id: shres.rc,v 1.3 1999-10-11 20:17:11 sandervl Exp $ */
    22/*
    33 * Top level resource file for Common Dialogs
     
    99#include "shlobj.h"
    1010#include "shresdef.h"
     11#include "odinrsrc.h"
    1112
    1213/*--------------------- FIXME --------------------------
     
    126127        IDS_OPEN                "Open"
    127128}
     129
     130/////////////////////////////////////////////////////////////////////////////
     131//
     132// Version
     133//
     134
     1351 VERSIONINFO
     136 FILEVERSION ODIN_FILEVERSION
     137 PRODUCTVERSION ODIN_PRODUCTVERSION
     138 FILEFLAGSMASK 0x3fL
     139 FILEFLAGS 0xaL
     140 FILEOS 0x10001L
     141 FILETYPE 0x1L
     142 FILESUBTYPE 0x0L
     143BEGIN
     144    BLOCK "StringFileInfo"
     145    BEGIN
     146        BLOCK "040904E4"
     147        BEGIN
     148            VALUE "Comments", "Odin32 System Dll\0"
     149            VALUE "CompanyName", "Odin Team\0"
     150            VALUE "FileDescription", "Generic Example Application\0"
     151            VALUE "FileVersion", "0.0\0"
     152            VALUE "InternalName", "Odin32 - SHELL32\0"
     153            VALUE "LegalCopyright", "Copyright (C) 1999\0"
     154            VALUE "LegalTrademarks", "\0"
     155            VALUE "OriginalFilename", "\0"
     156            VALUE "ProductName", "Odin32 - SHELL32\0"
     157            VALUE "ProductVersion", "1.0\0"
     158        END
     159    END
     160    BLOCK "VarFileInfo"
     161    BEGIN
     162        VALUE "Translation", 0x409, 0x04E4
     163    END
     164END
    128165
    129166/* document */
     
    11901227 * get localized bitmaps for example.
    11911228 */
    1192 #include "shell32_Ca.rc"
    1193 #include "shell32_Cs.rc"
    1194 #include "shell32_Da.rc"
    1195 #include "shell32_De.rc"
    11961229#include "shell32_En.rc"
    1197 #include "shell32_Eo.rc"
    1198 #include "shell32_Es.rc"
    1199 #include "shell32_Fi.rc"
    1200 #include "shell32_Fr.rc"
    1201 #include "shell32_Hu.rc"
    1202 #include "shell32_It.rc"
    1203 #include "shell32_Ko.rc"
    1204 #include "shell32_Nl.rc"
    1205 #include "shell32_No.rc"
    1206 #include "shell32_Pl.rc"
    1207 #include "shell32_Pt.rc"
    1208 #include "shell32_Ru.rc"
    1209 #include "shell32_Sv.rc"
    1210 #include "shell32_Wa.rc"
     1230//#include "shell32_Ca.rc"
     1231//#include "shell32_Cs.rc"
     1232//#include "shell32_Da.rc"
     1233//#include "shell32_De.rc"
     1234//#include "shell32_Eo.rc"
     1235//#include "shell32_Es.rc"
     1236//#include "shell32_Fi.rc"
     1237//#include "shell32_Fr.rc"
     1238//#include "shell32_Hu.rc"
     1239//#include "shell32_It.rc"
     1240//#include "shell32_Ko.rc"
     1241//#include "shell32_Nl.rc"
     1242//#include "shell32_No.rc"
     1243//#include "shell32_Pl.rc"
     1244//#include "shell32_Pt.rc"
     1245//#include "shell32_Ru.rc"
     1246//#include "shell32_Sv.rc"
     1247//#include "shell32_Wa.rc"
Note: See TracChangeset for help on using the changeset viewer.