|
Last change
on this file since 975 was 956, checked in by sandervl, 26 years ago |
|
Rewrite for new win32 image classes
|
|
File size:
1.7 KB
|
| Line | |
|---|
| 1 | /* $Id: winimagelx.cpp,v 1.1 1999-09-15 23:39:07 sandervl Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | /*
|
|---|
| 4 | * Win32 LX Image base class
|
|---|
| 5 | *
|
|---|
| 6 | * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
|
|---|
| 7 | *
|
|---|
| 8 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 9 | *
|
|---|
| 10 | */
|
|---|
| 11 |
|
|---|
| 12 | #define INCL_DOSFILEMGR /* File Manager values */
|
|---|
| 13 | #define INCL_DOSMODULEMGR
|
|---|
| 14 | #define INCL_DOSERRORS /* DOS Error values */
|
|---|
| 15 | #define INCL_DOSPROCESS /* DOS Process values */
|
|---|
| 16 | #define INCL_DOSMISC /* DOS Miscellanous values */
|
|---|
| 17 | #define INCL_WIN
|
|---|
| 18 | #define INCL_BASE
|
|---|
| 19 | #include <os2wrap.h> //Odin32 OS/2 api wrappers
|
|---|
| 20 |
|
|---|
| 21 | #include <stdio.h>
|
|---|
| 22 | #include <string.h>
|
|---|
| 23 | #include <stdlib.h>
|
|---|
| 24 |
|
|---|
| 25 | #include <assert.h>
|
|---|
| 26 | #include <misc.h>
|
|---|
| 27 | #include <win32type.h>
|
|---|
| 28 | #include <winimagebase.h>
|
|---|
| 29 | #include <winimagelx.h>
|
|---|
| 30 | #include <windllbase.h>
|
|---|
| 31 | #include <winexebase.h>
|
|---|
| 32 | #include <winexelx.h>
|
|---|
| 33 | #include <pefile.h>
|
|---|
| 34 | #include <unicode.h>
|
|---|
| 35 | #include <winres.h>
|
|---|
| 36 | #include "oslibmisc.h"
|
|---|
| 37 | #include "initterm.h"
|
|---|
| 38 | #include <win\virtual.h>
|
|---|
| 39 |
|
|---|
| 40 | //******************************************************************************
|
|---|
| 41 | //******************************************************************************
|
|---|
| 42 | Win32LxImage::Win32LxImage(HINSTANCE hInstance)
|
|---|
| 43 | : Win32ImageBase(hInstance)
|
|---|
| 44 | {
|
|---|
| 45 | APIRET rc;
|
|---|
| 46 |
|
|---|
| 47 | szFileName[0] = 0;
|
|---|
| 48 |
|
|---|
| 49 | char *name = OSLibGetDllName(hinstance);
|
|---|
| 50 | strcpy(szFileName, name);
|
|---|
| 51 | strupr(szFileName);
|
|---|
| 52 | }
|
|---|
| 53 | //******************************************************************************
|
|---|
| 54 | //******************************************************************************
|
|---|
| 55 | Win32LxImage::~Win32LxImage()
|
|---|
| 56 | {
|
|---|
| 57 | }
|
|---|
| 58 | //******************************************************************************
|
|---|
| 59 | //******************************************************************************
|
|---|
| 60 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.