Where the error occurred?
When I read txt file during the second development using fdk, I can read all information from txt file,But when finish to read the txt file,FramMaker ocurres serious error.
code:
VoidT GetEffectiveInfo()
{
FILE *fp;
CharT a[10];
StringT page,startTime,endTime;
fp=fopen("C:\\effTime.txt","r");
if(fp!=NULL)
{
while(!feof(fp))
{
//fgets(str,25,fp);
fscanf(fp,"%[^,]%*c",a);
F_ApiAlert((StringT)a, FF_ALERT_CONTINUE_WARN);
}
fclose(fp);
}
}
error information:

