Delphi to Visual C++ converter?

Discussion in 'UK Motorcycles' started by frag, Jul 1, 2008.

  1. frag

    frag Guest

    Sort of following on from the 'Bollocks' thread I've been toying with
    the idea of converting Xananews to VS C++ so I can bugfix/maintain it.

    I've had a little look at delphi2cpp but its far from perfect, and I
    think by the time I've manually re-created all the dialogs, etc, and
    cut & pasted the code it produces in, it'd be just as quick to write XN
    from scratch.

    Does anyone know of a good delphi to VS C++ converter that'll convert
    the resource files too and produce a half decent VS C++ project?
     
    frag, Jul 1, 2008
    #1
    1. Advertisements

  2. frag

    prawn Guest

    Blimey. It's been a few years since I touched Delphi. Certainly, at the
    time, the answer was no - though things may have moved on apace.
    Learning the Delphi idiom may be easier :)
     
    prawn, Jul 1, 2008
    #2
    1. Advertisements

  3. I doubt such a thing exists due the lack of (as far as I know) a port
    of Borland's Visual Component Library and other Borland-specific class
    libraries to VC++ . You'd be better off grabbing a copy of Turbo C++
    from httt://www.turboexplorer.com/cpp, which uses the same class
    libraries as Delphi.

    Although it may be easier to download Turbo Delphi from the same site
    and work with the existing source (it's not a massive jump from C++ to
    Object Pascal - especially if you're just maintaining existing code and
    don't intend implementing huge swathes of new stuff).
     
    Slower Than You, Jul 1, 2008
    #3
  4. Actually, looking at the source for XanaNews, it uses a bunch of
    additional third-party components. I'm fairly sure that one of the
    restrictions of the free "Turbo Explorer" downloads of Delphi and C++
    is that they won't import third-party components, so you'd need a full
    copy of them.

    I do vaguely remember some stuff about a sneaky method for importing
    components into the freebie versions, but that's all getting a bit
    messy, isn't it.
     
    Slower Than You, Jul 1, 2008
    #4
  5. Another possible option, for someone dead-set on a newsreader
    compilable with VC++ might be the now-open-source Microplanet Gravity:
    http://mpgravity.sourceforge.net/

    For a VC++ programmer, making that work how you want it to might be an
    easier option than trying to fit the XanaNews source and all of its
    dependencies into something other than a full install of Delphi...
     
    Slower Than You, Jul 2, 2008
    #5
  6. frag

    frag Guest

    Yep, I vaguely remember grabbing the free "cover disc" version of
    Delphi something but it didn't do add ons as you say without some
    persuasion.

    And after that persuasion I'd be up shit creek sans paddle if I
    distributed the compiled software.
     
    frag, Jul 4, 2008
    #6
  7. frag

    frag Guest

    Now thats an idea.

    I'll download it and see what its capable of already, cheers.
     
    frag, Jul 4, 2008
    #7
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.