2 ** $VER: TextExampleLib.c 37.1 (4.12.96)
4 ** Demo program for example.library
6 ** (C) Copyright 1996 Andreas R. Kleinert
7 ** All Rights Reserved.
10 #include <exec/types.h>
11 #include <exec/memory.h>
13 #include <example/example.h>
15 #include <proto/exec.h>
16 #include <proto/example.h>
21 void main(long argc
, char **argv
)
23 struct ExampleBase
*ExampleBase
= NULL
;
25 ExampleBase
= (APTR
) OpenLibrary(EXAMPLENAME
, 37);
29 EXF_TestRequest("Test Message", "It works!", "OK");
31 CloseLibrary((APTR
) ExampleBase
);
37 printf ("\nLibrary opening failed\n");