Category : C Source Code
Archive   : DBPRO.ZIP
Filename : DBBOUND.C

 
Output of file : DBBOUND.C contained in archive : DBPRO.ZIP
/*

WARNING!!!!!!! this program will not run as it is now written.
Read the documentation on "Embedding Resource Files" to learn
how to use this sample file.

*/

#include "pro.h"
#include "xglobals.h"
#include "dbpro.h"
#include "dbbuild.h"


static unsigned char head = 0, tail = 0;
static unsigned int queue[256];

void init_dbpro()
{
/* initialize The WINDOW PRO - required */
wn_init();

/* initialize The DB PRO message queue - required */
db_switchqueue(&head, &tail, queue);
}

main(argv,argc)
int argv;
char *argc[];
{
dialog_box *db_ptr;

init_dbpro();

db_ptr = create_db(argc[0],0L,argc[0],0L,atoi(argc[1]));
db_run(db_ptr,0);
}


  3 Responses to “Category : C Source Code
Archive   : DBPRO.ZIP
Filename : DBBOUND.C

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/