Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Borland C++ Builder to MS VS 2005

Borland C++ Builder to MS VS 2005

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++delphivisual-studioquestion
4 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tony Teveris
    wrote on last edited by
    #1

    Has anyone have any thoughts on converting a Borland C++ Builder project to MS VS 2005 ? I don’t know anything about Borland’s environment but we have acquired a company that does all it’s software using Borland. We are strictly an MS environment group. The project is a simple MDI application, no .NET. Are there any blogs, papers, etc on the subject ? Thanks in advance

    Tony Teveris Gerber Scientific Products Senior Software Engineer Phone: 860 648 8151 Fax: 860 648 8214 83 Gerber Road West South Windsor, CT 06074

    S L S 3 Replies Last reply
    0
    • T Tony Teveris

      Has anyone have any thoughts on converting a Borland C++ Builder project to MS VS 2005 ? I don’t know anything about Borland’s environment but we have acquired a company that does all it’s software using Borland. We are strictly an MS environment group. The project is a simple MDI application, no .NET. Are there any blogs, papers, etc on the subject ? Thanks in advance

      Tony Teveris Gerber Scientific Products Senior Software Engineer Phone: 860 648 8151 Fax: 860 648 8214 83 Gerber Road West South Windsor, CT 06074

      S Offline
      S Offline
      spsharma
      wrote on last edited by
      #2

      Depends on the size of Borland project, if it is really simple rewriting is good but if the project is a complex application at least I don't recommend that.

      1 Reply Last reply
      0
      • T Tony Teveris

        Has anyone have any thoughts on converting a Borland C++ Builder project to MS VS 2005 ? I don’t know anything about Borland’s environment but we have acquired a company that does all it’s software using Borland. We are strictly an MS environment group. The project is a simple MDI application, no .NET. Are there any blogs, papers, etc on the subject ? Thanks in advance

        Tony Teveris Gerber Scientific Products Senior Software Engineer Phone: 860 648 8151 Fax: 860 648 8214 83 Gerber Road West South Windsor, CT 06074

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        Tony Teveris wrote:

        converting a Borland C++ Builder project to MS VS 2005 ?

        Well when you say "converting a project" do you mean the IDE project management files? I know it might be tedious but you should be able to just create an empty VS project and add all the files and libraries by hand. If that is not what you are asking about could you be more specific?

        1 Reply Last reply
        0
        • T Tony Teveris

          Has anyone have any thoughts on converting a Borland C++ Builder project to MS VS 2005 ? I don’t know anything about Borland’s environment but we have acquired a company that does all it’s software using Borland. We are strictly an MS environment group. The project is a simple MDI application, no .NET. Are there any blogs, papers, etc on the subject ? Thanks in advance

          Tony Teveris Gerber Scientific Products Senior Software Engineer Phone: 860 648 8151 Fax: 860 648 8214 83 Gerber Road West South Windsor, CT 06074

          S Offline
          S Offline
          StevenS_Dev
          wrote on last edited by
          #4

          This is exactly what I have been doing for the last 4.5 months. I was hired on to port an application from Borland to VS 2005 with some C# sprinkled in there. To be more specific, I am porting from Borland OWL. Are you using OWL? Sorry, I am not familiar with Borland C++ Builder or the Borland tools. I'm just porting code and we use a makefile to compile the Borland code. I can give you some pointers if you are using OWL. A lot of the classes and methods transfer quite easily to MFC. Things like TDC is a CDC, TPen is a CPen. There are other portions of Borland which are nice and make you wish MFC had the same thing. For example, Borland has an actual color class (TColor). There is no equivalent in MFC so I had to use a COLORREF and the RGB macros in place of TColor. There are other helpful Borland classes which you just need to figure out how to do the equivalent in MFC. Since you will be working with MDI, you should be aware of Borland's window structure. Do you have a background in MFC and how the window classes relate? In MFC, a window contains a MainFrame which itself controls the MDIClient window. These are one-in-the-same when it comes to MFC classes. In Borland, you actually have two separate classes. A TMDIClient class and TMDIFrame/TDecoratedMDIFrame. You will need to convert the two classes into the one CMDIFrameWnd. Does the project use STL? The STL is different between the two and requires some minor name changes. A compile error will point this out and you can usually figure out the equivalent just looking it up on MSDN. Unfortunately, there is really no information on-line for Borland information. I use their OWL help documentation if I ever get stuck. This should at least give you a heads up. Let me know if you have any more questions or concerns. We can take this to e-mail if necessary.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups