]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkComplexBlackBox.cxx
Works with visual studio 2009
[bbtk.git] / kernel / src / bbtkComplexBlackBox.cxx
index 05d6923c5591a421a13a348e933c2b4250fc74d6..0c65247ce5c68f1034b5d4cda68028dbf4796292 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkComplexBlackBox.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/07/30 15:01:05 $
-  Version:   $Revision: 1.28 $
+  Date:      $Date: 2009/10/05 22:44:48 $
+  Version:   $Revision: 1.29 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -692,16 +692,25 @@ namespace bbtk
     
 
 #ifdef WIN32
-       std::string command1 ("dot -Tpng -o "  
+       
+       std::string currentexecpath( crea::System::GetDllAppPath("bbtk") +"\\dot_embedded\\");
+       std::string command1 (currentexecpath + "dot -Tpng -o "  
                          + filename_png2  + " " + filename_dot2 );
+
+       std::string command1a(currentexecpath + "dot -T cmap -o " 
+                         + filename_cmap2 + " " + filename_dot2 );
+
 #else
        std::string command1 ("dot -Tpng:quartz -o "  
                          + filename_png2  + " " + filename_dot2  );
-#endif
-       
-    std::string command1a("dot -T cmap -o " 
+       std::string command1a("dot -T cmap -o " 
                          + filename_cmap2 + " " + filename_dot2 );
 
+#endif
+
+
+    
+
     // 1. Generating .dot file
     FILE *ff;
     ff = fopen(filename_dot.c_str(),"w");