|
Last change
on this file since 178 was 2, checked in by root, 23 years ago |
|
Initial revision
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
727 bytes
|
| Line | |
|---|
| 1 | #define INCL_DOS
|
|---|
| 2 | #define INCL_WIN
|
|---|
| 3 |
|
|---|
| 4 | #include <os2.h>
|
|---|
| 5 | #include <stdarg.h>
|
|---|
| 6 | #include <stdio.h>
|
|---|
| 7 | #include <stdlib.h>
|
|---|
| 8 | #include <string.h>
|
|---|
| 9 | #include <ctype.h>
|
|---|
| 10 | #include "dll\fm3dll.h"
|
|---|
| 11 | #include "dll\fm3dlg.h"
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 | int main (int argc,char *argv[]) {
|
|---|
| 15 |
|
|---|
| 16 | HAB hab;
|
|---|
| 17 | HMQ hmq;
|
|---|
| 18 |
|
|---|
| 19 | DosError(FERR_DISABLEHARDERR);
|
|---|
| 20 | hab = WinInitialize(0);
|
|---|
| 21 | if(hab) {
|
|---|
| 22 | hmq = WinCreateMsgQueue(hab,256);
|
|---|
| 23 | if(hmq) {
|
|---|
| 24 | if(InitFM3DLL(hab,argc,argv)) {
|
|---|
| 25 | WinDlgBox(HWND_DESKTOP,
|
|---|
| 26 | HWND_DESKTOP,
|
|---|
| 27 | KillDlgProc,
|
|---|
| 28 | FM3ModHandle,
|
|---|
| 29 | KILL_FRAME,
|
|---|
| 30 | NULL);
|
|---|
| 31 | }
|
|---|
| 32 | DosSleep(250L);
|
|---|
| 33 | WinDestroyMsgQueue(hmq);
|
|---|
| 34 | }
|
|---|
| 35 | WinTerminate(hab);
|
|---|
| 36 | }
|
|---|
| 37 | return 0;
|
|---|
| 38 | }
|
|---|
| 39 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.