This sample shows how to call DFM Now! and then add the matrix file as the first argument. We're assuming the external tool has already created a successful matrix file called "matrix.fm6" located in the C:\Temp folder.
Note: Simply call DFM Now! and pass the matrix file as the first argument.
Note: All Import Matrix Files must end with *.fm6.
Note: This sample below is using MFC in Visual C++ 2005.
Note: This sample assumes that you installed DFM Now! to "C:\Program File\Numerical Innovations\DFMNow"
//Start
STARTUPINFO si;
PROCESS_INFORMATION pi;
GetStartupInfo(&si);
SetCurrentDirectory( "C:\\Temp" );
CString CamPath = "C:\\Program Files\\Numerical Innovations\\DFMnow\\DFMnow.exe";
CamPath += " \"C:\\Temp\\matrix.fm6\"";
if( !CreateProcess( NULL,(LPCTSTR)CamPath,NULL,NULL,FALSE,0,NULL,NULL,&si,&pi))
{
printf( "Unable to Start DFM Now!" );
}