‎09-10-2007 09:39 AM
‎09-10-2007 10:15 AM
Are you looking for something like this?
int LogPrintf(char *format, ...)
{ va_list arguments;
va_start(arguments, format);
fprintf(logFileStream, format, arguments);
va_end(arguments);
return(0);
}
‎09-10-2007 11:25 AM
‎09-10-2007 12:43 PM
‎09-10-2007 12:57 PM
I think you have the right answer. I was working from memory a bit and did not have a compiler in front of me to try it out.
Happy to hear you found a solution.