Has anyone been successful importing data into MP using the ImportData method programming C/C++? I'm having a problem and I believe it's related to the second parameter of this function

"const variant_t & ArrayOfFields"

Since this parameter is optional, I initially just wanted to send a NULL value but can't even get this to work. I'm importing a comma delimited file that works if I run the Import Data wizard from the application so I know the file format is okay.

Any help in datatyping this function correctly would be appreciated.

thanks :?