home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
488.lha
/
reslib
/
try_lib.c
< prev
Wrap
C/C++ Source or Header
|
1991-03-08
|
391b
|
19 lines
#include "proto/exec.h"
#include "test_pragmas.h"
struct Library *TestBase;
main()
{
TestBase = OpenLibrary("test.library",0);
if (TestBase)
{
printf("Library Opened Sucessfully.\n");
printf("test1 = %d\n",test1());
printf("test2 = %d\n",test2(2));
CloseLibrary(TestBase);
printf("Library Closed.\n");
}
else printf("Library Failed to Open.\n");
}