hello, I am compiling our mud in vc 6.0 w/ all libraries installed on a = win98 machine. It compiles mostly clean but dies during boot at "loading zone = table" w/ one of those nasty pop-up boxes. During debug, it points to 2 files, = stream.c, one of vc++'s library files, and db.c. In stream.c, it points to this line of code. fd =3D _fileno(stream); <---- in the context box, it says, = rewind(_iobuf*) w/ variables=20 underneath it having CX0030: ERROR: expression cannot be evaluated. = Upon reading the help file for this error, it has to do w/ memory addressing. In db.c, it points to this piece of code. #define Z zone_table[zone] /* load the zone table and command tables */ void load_zones(FILE * fl, char *zonename) { extern int load_zone_info(FILE *file, struct zone_data *z); static int zone =3D 0; int cmd_no =3D 0, num_of_cmds =3D 0, line_num =3D 0, tmp, error; char *ptr, buf[256], zname[256]; strcpy(zname, zonename); while (get_line(fl, buf)) num_of_cmds++; /* this should be correct within 3 or so */ rewind(fl); <-------- It points to this line with context box = showing load_zones(_iobuf*, char*) and under the = locals tab, several variables w/ the same CX0030 = error. if (num_of_cmds =3D=3D 0) { fprintf(stderr, "%s is empty!\n", zname); exit(0); } =20 The question is, has anyone ever come across this, and could it be os = dependent, as we don't=20 have this error on our unix box. Any help is appreciated, Tom +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST