Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Porting FlowChartX Professional to C++ Builder XE3?? (Read 4031 times)
BF
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Feb 26th, 2013
Porting FlowChartX Professional to C++ Builder XE3??
Feb 26th, 2013 at 5:02pm
Print Post  
Hello,

I am very interested in FlowChartX Professional for a large project however my toolchain is C++ Builder XE3, and I am not interested in using FlowChartX as an active X control, which works ok with c++ builder, as I wish to tightly integrate FlowChartX in to a project ultimately under both Mac and Win.

I would be interested in porting the source code to compile directly with C++ Builder under VCL, but later under FireMonkey (The Embarcadero Mac/Win framework), once Firemonkey has matured. This would be relatively straight forward after a VCL port.

To the FlowChartX developers (Or anyone who bought a source code license):

0. How large is the source code in terms of lines of code?

1. How difficult might this task be, knowing the source code? (I know this is arbitrary depending on experience and so on, but any feedback would be appreciated)

2. What dependencies are required to build the source as is (ATL/Boost/...)?

3. How modular is the source code? Ideally I would rip out as much as possible (Several of the layouts, import/exporting graphs and so on) to only keep the subset of features I would require and to reduce the porting effort.

4. Would the MindFusion developers be interested in putting out a C++ Builder Firemonkey/VCL version and saving me all the effort! ...kidding, sort of Wink

Many thanks for any help on this,

- Bobby
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Porting FlowChartX Professional to C++ Builder XE3??
Reply #1 - Feb 26th, 2013 at 7:02pm
Print Post  
Hi,

0. The cloc tool shows this:

Code
Select All
http://cloc.sourceforge.net v 1.56  T=24.0 s (12.8 files/s, 6570.9 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
C++                            143          17364           5428          71143
C/C++ Header                   161          15472           2220          39907
IDL                              1           1601              0           4260
C                                1            164             14            108
Teamcenter def                   2              5              0             15
-------------------------------------------------------------------------------
SUM:                           308          34606           7662         115433
------------------------------------------------------------------------------- 



1. According to our developers, the drawing code should be easy to port since it is already abstracted into some Canvas, Pen and Brush classes. They currently come in versions for Win32 and GDI+, and you should be able to implement them in VCL for a few days of coding. XML serialization is abstracted too and you should be able to implement it by wrapping the flowchart's Xml classes around your platform's XML DOM API. Other code might require a complete rewrite, e.g. binary serialization and printing, which are currently too tied to the Win32 API. You will also have to replace a lot of COM and Win32 types, such as IFont, RECT and POINT, with VCL's equivalents.

2. ATL and WTL.

3. Ripping out classes should be easy.

4. Contact sales@mindfusion for a quote Wink

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
BF
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 9
Joined: Feb 26th, 2013
Re: Porting FlowChartX Professional to C++ Builder XE3??
Reply #2 - Feb 26th, 2013 at 10:56pm
Print Post  
Excellent, thanks for speedy reply.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint