I would like to create a macro (#define xxx(x,x) etc.) that will accept a varable number of arguments. I then want to send the variable number of arguments to a printf/FormatMessage style code. Can I do this in a macro? It's use would be:

#define SENDLOG(x,...) SendLog(x, __LINE__, __FILE__, ...)

Doesn't work. Anyone have any tricks?

Shawn Wildermuth
NetSuite Development Corporation