Navigation:  Import Matrix File >

C++ Source Example for calling Matrix File

Previous pageReturn to chapter overviewNext page

This sample shows how to call FAB 3000 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 FAB 3000 and pass the matrix file as the first argument.

Note: All FAB 3000 Import Matrix Files must end with *.fm6.  

bar_dot

 

Note: This sample below is using MFC in Visual C++ 2005.

Note: This sample assumes that you installed FAB 3000 to "C:\Program File\Numerical Innovations\Fab3000"

 

 

 //Start

 STARTUPINFO si;

 PROCESS_INFORMATION pi;

 GetStartupInfo(&si);

 SetCurrentDirectory( "C:\\Temp" );

 

 CString CamPath = "C:\\Program Files\\Numerical Innovations\\Fab3000\\Fab3000.exe";

 CamPath += " \"C:\\Temp\\matrix.fm6\"";

 

 if( !CreateProcess( NULL,(LPCTSTR)CamPath,NULL,NULL,FALSE,0,NULL,NULL,&si,&pi))

 {

         printf( "Unable to Start FAB 3000" );

 }