I have a test driver on WINDOWS 2000 platform as below:

int main()
{
printf("Hello Siva\n");
fileFlush(stdout);
}

fileFlush is a wrapper for fflush(). fileFlush is defined and declared in another dll as below:

void fileFlush(FILE *file)
{
fflush(file);
}

When the run the test driver, it crashes in fflush. Can someone run this test and help me to figure out as to what is going on. If you did not understand the test scenario I can send the dll and the test program to duplicate this problem.

Thank you