Line | |
---|
1 | /* $Id: odinexe.cpp,v 1.3 1999-10-05 14:28:52 sandervl Exp $ */
|
---|
2 | /*
|
---|
3 | * Win32 Odin32 Application executable entrypoint
|
---|
4 | *
|
---|
5 | * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
6 | *
|
---|
7 | *
|
---|
8 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
9 | *
|
---|
10 | */
|
---|
11 | #include <os2.h>
|
---|
12 | #include <win32type.h>
|
---|
13 | #include <odinlx.h>
|
---|
14 |
|
---|
15 | //Win32 app entrypoint:
|
---|
16 | int WIN32API WinMain(HINSTANCE hInstance,
|
---|
17 | HINSTANCE hPrevInstance,
|
---|
18 | LPSTR lpCmdLine,
|
---|
19 | int nCmdShow);
|
---|
20 |
|
---|
21 | extern "C" {
|
---|
22 | //Win32 resource table (produced by wrc)
|
---|
23 | extern DWORD _Resource_PEResTab;
|
---|
24 | }
|
---|
25 | //******************************************************************************
|
---|
26 | //******************************************************************************
|
---|
27 | int main(int argc, char *argv[])
|
---|
28 | {
|
---|
29 | RegisterLxExe(WinMain, (PVOID)&_Resource_PEResTab);
|
---|
30 | }
|
---|
31 | //******************************************************************************
|
---|
32 | //******************************************************************************
|
---|
Note:
See
TracBrowser
for help on using the repository browser.