home *** CD-ROM | disk | FTP | other *** search
- #include "proto/exec.h"
- #include "proto/dos.h"
- #include "mylib_pragmas.h"
- #include "mylib_protos.h"
- #include <stdio.h>
- #include "common.h"
-
- char __stdiowin[] = "con:0/0/640/100/";
-
- struct Grow *testptr;
-
- struct Library *MyLibBase;
-
- main()
- {
- MyLibBase = OpenLibrary("mylib.library",0);
-
- if (MyLibBase)
- {
- printf("Library Opened Sucessfully.\n");
- testptr = blurgh(10);
-
- printf("test1 returned = %d %s\n", testptr->i,testptr->string);
- CloseLibrary(MyLibBase);
-
- printf("Library Closed.\n");
- }
- }
-
-