The Leader in CAD Viewers, Translators, and Custom EDA Solutions™
Join us on Twitter Visit our blog! Like us on Facebook View the Numerical Innovations RSS Feed

C++ Source Code Example for calling Matrix File

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

 
 
 

 


  LINKS SOLUTIONS POPULAR
  Twitter Gerber/CAM Downloads
  Blogs CAD Translation Customer Testimonials
  Support GDSII/MEMs Buy Now
  Forums AutoCAD PlugIns Partners
  Privacy OEM/Custom Software Contact Us
 
© 2012 Numerical Innovations, a Division of Caneberra Technologies, Inc. All Rights Reserved.