home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
-
- Demonstration how to use DreamDoor.library and Amiga-E!
-
- *****************************************************************************/
-
- MODULE 'DayDream'
- MODULE 'DDDoor_Pragmas'
-
- DEF dif
-
- PROC main()
- IF ddbase:=OpenLibrary('dreamdoor.library',1)
-
- IF dif:=InitDoor(arg) /* Establish Link */
- SendString(dif,'Hello world!\n')
- CloseDoor(dif) /* Close Link w/ DD */
- ELSE
- WriteF('Requires Microsoft Windows V3.1+!\n')
- CloseLibrary(ddbase)
- ENDIF
- ELSE
- WriteF('Could not open DreamDoor.library V1+!\n')
- ENDIF
- ENDPROC
-