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. The Lounge
  3. Something..something..something....Dark Side

Something..something..something....Dark Side

Scheduled Pinned Locked Moved The Lounge
c++visual-studiolinuxcsharpphp
50 Posts 16 Posters 0 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.
  • A Anna Jayne Metcalfe

    Useful to know, but we're trying to avoid LGPL as we prefer to statically link.

    Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #26

    Qt going LGPL is a really big deal and shipping a few DLLs really isn't too much of a problem (speaking as someone who has always statically linked with MS DLLs in the past.) Qt is a joy to use and I cannot recommend it enough. :)

    Blogging about Qt Creator

    A 1 Reply Last reply
    0
    • L Lost User

      Qt going LGPL is a really big deal and shipping a few DLLs really isn't too much of a problem (speaking as someone who has always statically linked with MS DLLs in the past.) Qt is a joy to use and I cannot recommend it enough. :)

      Blogging about Qt Creator

      A Offline
      A Offline
      Anna Jayne Metcalfe
      wrote on last edited by
      #27

      Whilst it's good that that option is available, we'd rather not start using LGPL libraries unless there really is no other option. As the majority of the code we're porting is not UI based (the target app is console based, so it's mostly string mangling, parsing and report generation) I suspect Qt will be overkill for our needs anyway.

      Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

      L 1 Reply Last reply
      0
      • A Anna Jayne Metcalfe

        Lots of embedded IDEs are based on Eclipse, so we're working on a plug-in for it. That being the case, it makes sense to actually use it so we can become familiar with some of the "subtleties". Besides, I swore off vi back in my Uni days.

        Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

        C Offline
        C Offline
        CPallini
        wrote on last edited by
        #28

        Anna-Jayne Metcalfe wrote:

        Besides, I swore off vi back in my Uni days.

        Well, 'the gold old days...' :)

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        A 1 Reply Last reply
        0
        • A Anna Jayne Metcalfe

          Whilst it's good that that option is available, we'd rather not start using LGPL libraries unless there really is no other option. As the majority of the code we're porting is not UI based (the target app is console based, so it's mostly string mangling, parsing and report generation) I suspect Qt will be overkill for our needs anyway.

          Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #29

          You can still use Qt Creator to write console apps. I do it all the time. It's a great IDE and the more people that use it, the better it will get.

          Blogging about Qt Creator

          A 1 Reply Last reply
          0
          • N NormDroid

            Sounds like your working in a antique workshop, have you girls ever heard of c#. :)

            Two heads are better than one.

            C Offline
            C Offline
            chrissb
            wrote on last edited by
            #30

            On Linux? You mean that language that the majority of distro's won't even ship the framework with because the language was developed by MSFT and thus inherently evil and blasphemous? The language with the majority of posters on the majority of forums claiming that anyone using C# should be hung for high treason? Or at the very least kicked from every project possible. No, couldn't be the same language.. Must be a different C# that will actually run on Linux without effort (in some cases a great deal of) on the part of the user. ;P

            1 Reply Last reply
            0
            • A Anna Jayne Metcalfe

              Not at all - we couldn't even have written a project like Visual Lint in C# because of the in-process framework versioning limitations of the .NET framework, much less port the thing to Linux. ;) Besides, the way we have it set up C++ (with WTL, smart pointers and selected bits from C++ 0x is pretty productive and a whole lot of fun to work with. There's not a simple explicit AddRef()/Release() anywhere in our codebase, believe me. :)

              Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

              N Offline
              N Offline
              NormDroid
              wrote on last edited by
              #31

              Anna-Jayne Metcalfe wrote:

              AddRef()/Release()

              Are those were the days... IUnknown and the intrinsic AddRef and Release..., brings tears to my eyes thinking about it :)

              Two heads are better than one.

              A 1 Reply Last reply
              0
              • A Anna Jayne Metcalfe

                We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses ATL::CString, that's no mean feat on a foreign OS. The joys of thunking layers. :)

                Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                C Offline
                C Offline
                chrissb
                wrote on last edited by
                #32

                Anna-Jayne Metcalfe wrote: it seems that you can't launch a console app under Ubuntu by double clicking on it See, there's your problem. You're assuming a Linux build operates like a Windows build. Have fun with that. ;P

                A 1 Reply Last reply
                0
                • L Lost User

                  You can still use Qt Creator to write console apps. I do it all the time. It's a great IDE and the more people that use it, the better it will get.

                  Blogging about Qt Creator

                  A Offline
                  A Offline
                  Anna Jayne Metcalfe
                  wrote on last edited by
                  #33

                  I'm beginning to get the impression you like it. If it was using a more permissive licence than LGPL (e.g. BSD) we might just take a look at it.

                  Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                  1 Reply Last reply
                  0
                  • C CPallini

                    Anna-Jayne Metcalfe wrote:

                    Besides, I swore off vi back in my Uni days.

                    Well, 'the gold old days...' :)

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                    [My articles]

                    A Offline
                    A Offline
                    Anna Jayne Metcalfe
                    wrote on last edited by
                    #34

                    The first time we encountered Unix machines at Uni the general consensus among my year is that they are were a security and usability nightmare waiting to happen. Open by default (you could hack someone else's terminal without even trying) and with an arcane command set and crap documentation. ;) We'd been weaned on PrimeOS, which was far more secure and easy to use at the time. Funny how things work out.

                    Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                    modified on Friday, May 14, 2010 5:25 AM

                    1 Reply Last reply
                    0
                    • N NormDroid

                      Anna-Jayne Metcalfe wrote:

                      AddRef()/Release()

                      Are those were the days... IUnknown and the intrinsic AddRef and Release..., brings tears to my eyes thinking about it :)

                      Two heads are better than one.

                      A Offline
                      A Offline
                      Anna Jayne Metcalfe
                      wrote on last edited by
                      #35

                      Some of the stuff we can do with the COM interfaces inside Visual Studio would make your hair curl. We've even got integration tests which automate the entire IDE and exercise it remotely. :cool:

                      Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                      N 1 Reply Last reply
                      0
                      • A Anna Jayne Metcalfe

                        Some of the stuff we can do with the COM interfaces inside Visual Studio would make your hair curl. We've even got integration tests which automate the entire IDE and exercise it remotely. :cool:

                        Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                        N Offline
                        N Offline
                        NormDroid
                        wrote on last edited by
                        #36

                        Anna-Jayne Metcalfe wrote:

                        Some of the stuff we can do with the COM interfaces inside Visual Studio would make your hair curl.

                        Would do if I had any :),

                        Anna-Jayne Metcalfe wrote:

                        Visual Studio would make your hair curl. We've even got integration tests which automate the entire IDE and exercise it remotely

                        Sounds cool.

                        Two heads are better than one.

                        A 1 Reply Last reply
                        0
                        • A Anna Jayne Metcalfe

                          We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses ATL::CString, that's no mean feat on a foreign OS. The joys of thunking layers. :)

                          Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                          M Offline
                          M Offline
                          Mike Winiberg
                          wrote on last edited by
                          #37

                          I have tried various dev systems over the years - I still prefer a good editor (Slickedit) which integrates with the other systems, over any of the IDEs. However, for cross-platform development (especially if you are switching between Windows and Linux) I find Netbeans to be about the best. Like you I found the esoteric knowledge needed to make Eclipse work just too much trouble to learn (and I came at that as an IBM ISV - IBM support Eclipse explicitly) YMMV of course... Mike

                          A 1 Reply Last reply
                          0
                          • C chrissb

                            Anna-Jayne Metcalfe wrote: it seems that you can't launch a console app under Ubuntu by double clicking on it See, there's your problem. You're assuming a Linux build operates like a Windows build. Have fun with that. ;P

                            A Offline
                            A Offline
                            Anna Jayne Metcalfe
                            wrote on last edited by
                            #38

                            Not at all, but I do expect some semblence of usability. Double clicking on a file should do something (even if it's just to display a message telling me "Please don't do that"), but instead it sat there like a lemming. A mute one, at that. I couldn't work out whether I had a duff binary, hadn't installed the right bits or what. Bear in mind I've been working with a variety of OSs (both command line and GUI) since the early 1980s so I've seen most things, one way or another - so if I'm stratching my head over the easy stuff, where does that leave the "ordinary" people Linux aspires to serve?

                            Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                            1 Reply Last reply
                            0
                            • M Mike Winiberg

                              I have tried various dev systems over the years - I still prefer a good editor (Slickedit) which integrates with the other systems, over any of the IDEs. However, for cross-platform development (especially if you are switching between Windows and Linux) I find Netbeans to be about the best. Like you I found the esoteric knowledge needed to make Eclipse work just too much trouble to learn (and I came at that as an IBM ISV - IBM support Eclipse explicitly) YMMV of course... Mike

                              A Offline
                              A Offline
                              Anna Jayne Metcalfe
                              wrote on last edited by
                              #39

                              Thanks for the advice. I have a feeling we'll be looking at Netbeans (from the plug-in perspective) in due course anyway, as we were asked about it at the ACCU Conference last month. :-\

                              Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                              S 1 Reply Last reply
                              0
                              • L Lost User

                                Qt + Qt Creator + (Windows|Mac|Linux) = success!

                                Blogging about Qt Creator

                                A Offline
                                A Offline
                                Anna Jayne Metcalfe
                                wrote on last edited by
                                #40

                                It's always good to hear success stories. :)

                                Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                1 Reply Last reply
                                0
                                • N NormDroid

                                  Anna-Jayne Metcalfe wrote:

                                  Some of the stuff we can do with the COM interfaces inside Visual Studio would make your hair curl.

                                  Would do if I had any :),

                                  Anna-Jayne Metcalfe wrote:

                                  Visual Studio would make your hair curl. We've even got integration tests which automate the entire IDE and exercise it remotely

                                  Sounds cool.

                                  Two heads are better than one.

                                  A Offline
                                  A Offline
                                  Anna Jayne Metcalfe
                                  wrote on last edited by
                                  #41

                                  Norm .net wrote:

                                  Would do if I had any

                                  Where did I say I meant the hair on your head? ;)

                                  Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                  N 1 Reply Last reply
                                  0
                                  • A Anna Jayne Metcalfe

                                    Norm .net wrote:

                                    Would do if I had any

                                    Where did I say I meant the hair on your head? ;)

                                    Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                    N Offline
                                    N Offline
                                    NormDroid
                                    wrote on last edited by
                                    #42

                                    now, now :laugh:

                                    Two heads are better than one.

                                    A 1 Reply Last reply
                                    0
                                    • N NormDroid

                                      now, now :laugh:

                                      Two heads are better than one.

                                      A Offline
                                      A Offline
                                      Anna Jayne Metcalfe
                                      wrote on last edited by
                                      #43

                                      Gotcha! ;P

                                      Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                      1 Reply Last reply
                                      0
                                      • A Anna Jayne Metcalfe

                                        Thanks for the advice. I have a feeling we'll be looking at Netbeans (from the plug-in perspective) in due course anyway, as we were asked about it at the ACCU Conference last month. :-\

                                        Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                        S Offline
                                        S Offline
                                        S Senthil Kumar
                                        wrote on last edited by
                                        #44

                                        I know you've been working on VS extensibility for quite a while. What book would you recommend for a total newbie (me)? The MSDN docs, though accurate, are only useful as a reference - I'm desperately looking for something that will give me the big picture.

                                        Regards Senthil _____________________________ My Home Page |My Blog | My Articles | My Flickr | WinMacro

                                        A 1 Reply Last reply
                                        0
                                        • A Anna Jayne Metcalfe

                                          We're taking a bit of time out from the day to day stuff to check out the feasibility of doing a cross platform port for one of our simpler projects. Now, although I started off my curly braces career with a Small-C command line compiler (CP/M!) I've been a Visual C++ dev since 16 bit days, so I'm kinda used to the IDE by now. Visual Studio may be a bit of a pig, but I can usually make it fly without too many crash-landings. However, one thing VS really sucks at is anything cross platform. So, here I am sitting in front of Eclipse/CDT and scratching my head - for someone used to Visual Studio, it's just a little weird. All things considered, the Windows version isn't that bad (just different, and slower) but to little old me under Linux (Ubuntu in this case) it feels like it's really trying hard to annoy me. Although it's the same UI, convincing it to actually produce a Linux executable (just a simple console app, nothing fancy) took some head scratching. Even once I thought I'd figured it out, it still looked like it had produced a Windows EXE (and one that wouldn't even run under Wine, at that). I'd been repeatedly back and forth through the project settings (which give the appearance of simplicity with none of the usability) to no avail. Twiddle something - build - watch it fail again. Repeat. Beth finally to the rescue - it seems that you can't launch a console app under Ubuntu by double clicking on it. You actually have to open a terminal window, navigate to the right folder and type in the name. :doh: At least the tests passed...and considering the code under test uses ATL::CString, that's no mean feat on a foreign OS. The joys of thunking layers. :)

                                          Anna :rose: Tech Blog | Visual Lint "Why would anyone prefer to wield a weapon that takes both hands at once, when they could use a lighter (and obviously superior) weapon that allows you to wield multiple ones at a time, and thus supports multi-paradigm carnage?"

                                          D Offline
                                          D Offline
                                          Drozzy
                                          wrote on last edited by
                                          #45

                                          You know what's cross platform? Da web! Just write a web app that will use your old code and your are done. GUI design? Throw together some html and css. As good as any UI library that is cross-platform, if not better. Cost? 0

                                          A 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