Change...
Code:
void mm_EngineFprintf(FILE *pfile, char *szFmt, ...)
...to this...
Code:
void mm_EngineFprintf((struct _iobuf *)pfile, char *szFmt, ...)
The question is, WHY is 'FILE' being interpreted as 'void' when it should be a 'struct _iobuf' type? I think you are missing some include files that would resolve 'FILE' to the proper type.
botman