home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
utility
/
misc
/
gloss_it
/
hello.asc
< prev
next >
Wrap
Text File
|
1987-04-21
|
746b
|
47 lines
#include <VDI.H>
#include <AES.H>
int contrl[12];
int intin[128];
int ptsin[128];
int intout[128];
int ptsout[128];
int work_in[11];
int work_out[57];
int SwApplId;
int SwVdi;
/*--------------------------------------
* alert
*/
void alert()
{
form_alert(1,"[3][| Hello world ][ OK ]");
}
/*--------------------------------------
* main
*/
main()
{
int swX, swY, swW, swH;
char ub;
if ((SwApplId = appl_init()) == -1) {
return (0);
}
SwVdi = graf_handle(&swX, &swY, &swW, &swH);
for (ub = 0; ub < 10; ub++)work_in[ub] = 1;
work_in[10] = 2;
v_opnvwk(work_in, &SwVdi, work_out);
if (SwVdi) {
alert();
}
v_clsvwk(SwVdi);
appl_exit();
}