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. For specific information about the Import Matrix, please click here >>
| 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. |
| |
| |
| //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!" ); |
| } |
| |
| |
| Note: This sample assumes that you installed DFM Now! to "C:\Program File\Numerical Innovations\DFMNow" |
Note: To determine if & where DFM Now! has been installed on the client computer, query the System Registry for the following string value:
HKEY_CURRENT_USER//Software//Numerical Innovations//DFMNOW//MM_GENERAL//Home |
| |
| |
| |