source: trunk/src/Odin32API/odinexe.cpp@ 3832

Last change on this file since 3832 was 1137, checked in by sandervl, 26 years ago

* empty log message *

File size: 1016 bytes
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:
16int WIN32API WinMain(HINSTANCE hInstance,
17 HINSTANCE hPrevInstance,
18 LPSTR lpCmdLine,
19 int nCmdShow);
20
21extern "C" {
22 //Win32 resource table (produced by wrc)
23 extern DWORD _Resource_PEResTab;
24}
25//******************************************************************************
26//******************************************************************************
27int 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.