Help!!!
Another way of getting stdprn:
#include <stdio.h>
FILE *stdprn;
void init_stdprn(void)
{
stdprn = fopen("PRT:", "w");
}
Just put the above in your program somewhere, then call init_stdprn
from your main() routine (or anywhere else BEFORE you use stdprn,
but AFTER stdio is initialized.) You could modify the source code
to _main as provided in SC:SOURCE/_main.c to initialize stdprn as
well.
Then you'll need to declare stdprn in each module that uses it:
extern FILE *stdprn;
and everything should work OK.
–Doug