hi, i'm trying to debug a microstation v7 to v8 application, but i'm
having problems wen running the .mc, it's about a stack overflow at
runtime, but i can't find where is it, my code is this
(i use the spanish version of microstation 08.05.02.35 that is the same
that uses the person who will use the mdl program)
mdb>
go
MDL ha detectado desbordamiento de pila
"cperf.mc"getPointsDGNP
483: boolean encontrado=FALSE;
mdb>
(it means a stack overflow at line 483)
the function looks like this
Private int getPointsDGNP(ListPoints *listPoints,DPoint3d
*lineAux,double xP)
{
ExtScanlist scanList;
ULong elemAddr[50], filePos;
int fileNum, i, j, numAddr, scanWords, vertices,
scan_status,
numPoints;
double distLine, distLineCorte;
long int mslink;
char selec[255], fcode[40], aux[30], label[30];
int num_atr;
UInt32 fcolor;
int baseenlace;
boolean encontrado=FALSE;
int flevel, fstyle;
UInt32 fweight;
int efeature;
Dvector3d limite;
MS_sqlda sel_desc;
DPoint3d line[MAX_VERTICES], corte, currentline[2];
FILE *debug;
DPoint3d origen,final;
short atributos[MAX_ATTRIBSIZE];
mdlScan_initialize(ACTIVEMODEL,&scanList);
is there another program to help debugging mdl programs other than the
one that comes with microstation? how can i get it?
thankyou


|