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. Managed C++/CLI
  4. Some hope for MC++ coders

Some hope for MC++ coders

Scheduled Pinned Locked Moved Managed C++/CLI
c++questionwinformscomcollaboration
20 Posts 7 Posters 50 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.
  • N Nish Nishant

    But yes, we do intend to add this feature to a future version of the product and we are working very hard to make that the very first future version. Ronald Laeremans Visual C++ compiler and libraries team Cool huh? That was in response to a question by someone asking when MC++ will have a Windows Forms designer :-)


    Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

    D Offline
    D Offline
    Derek Lakin
    wrote on last edited by
    #2

    Great News!! I'm just getting in to MC++ and finding this a bit of pain. Derek Lakin. I wish I was what I thought I was when I wished I was what I am. Salamander Software Ltd.

    N 1 Reply Last reply
    0
    • D Derek Lakin

      Great News!! I'm just getting in to MC++ and finding this a bit of pain. Derek Lakin. I wish I was what I thought I was when I wished I was what I am. Salamander Software Ltd.

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #3

      Derek Lakin wrote: Great News!! I'm just getting in to MC++ and finding this a bit of pain. Yeah. Now we won't have to waste 10 minutes to align a text box and a combo box on a form :-) Just drag/drop/size it. Cool!


      Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

      1 Reply Last reply
      0
      • N Nish Nishant

        But yes, we do intend to add this feature to a future version of the product and we are working very hard to make that the very first future version. Ronald Laeremans Visual C++ compiler and libraries team Cool huh? That was in response to a question by someone asking when MC++ will have a Windows Forms designer :-)


        Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

        A Offline
        A Offline
        Alexandru Savescu
        wrote on last edited by
        #4

        Yes, this really looks like good news Best regards, Alexandru Savescu

        N 1 Reply Last reply
        0
        • A Alexandru Savescu

          Yes, this really looks like good news Best regards, Alexandru Savescu

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #5

          ****Alexpro wrote: Yes, this really looks like good news I hope they bring it out as a Service Pack [which is free] instead of as a new version [which won't be free] Nish


          Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

          M 1 Reply Last reply
          0
          • M Michael P Butler

            I wonder how useful this feature really is. What advantages do we get for doing UI code in MC++ compared to doing it in C# ? Michael :-) "Eureka" is Greek for "This bath is too hot"

            R Offline
            R Offline
            Rama Krishna Vavilala
            wrote on last edited by
            #6

            Michael P Butler wrote: What advantages do we get for doing UI code in MC++ compared to doing it in C# ? None whatsoever:) It is good to see that you are slowly subscribing to my views Mike.:)

            1 Reply Last reply
            0
            • N Nish Nishant

              But yes, we do intend to add this feature to a future version of the product and we are working very hard to make that the very first future version. Ronald Laeremans Visual C++ compiler and libraries team Cool huh? That was in response to a question by someone asking when MC++ will have a Windows Forms designer :-)


              Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

              M Offline
              M Offline
              Michael P Butler
              wrote on last edited by
              #7

              I wonder how useful this feature really is. What advantages do we get for doing UI code in MC++ compared to doing it in C# ? Michael :-) "Eureka" is Greek for "This bath is too hot"

              R J N 3 Replies Last reply
              0
              • N Nish Nishant

                ****Alexpro wrote: Yes, this really looks like good news I hope they bring it out as a Service Pack [which is free] instead of as a new version [which won't be free] Nish


                Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                M Offline
                M Offline
                Michael P Butler
                wrote on last edited by
                #8

                Nish - Native CPian wrote: I hope they bring it out as a Service Pack [which is free] instead of as a new version [which won't be free] Surely you'll just be using a pirated version anyway :-D :-D :-D Michael :-) "Eureka" is Greek for "This bath is too hot"

                N J 2 Replies Last reply
                0
                • M Michael P Butler

                  I wonder how useful this feature really is. What advantages do we get for doing UI code in MC++ compared to doing it in C# ? Michael :-) "Eureka" is Greek for "This bath is too hot"

                  J Offline
                  J Offline
                  James T Johnson
                  wrote on last edited by
                  #9

                  If the rest of your app is in MC++ you don't have to ship a separate assembly for the UI ;P Otherwise there isn't an advantage that I can think of. James

                  N 1 Reply Last reply
                  0
                  • M Michael P Butler

                    I wonder how useful this feature really is. What advantages do we get for doing UI code in MC++ compared to doing it in C# ? Michael :-) "Eureka" is Greek for "This bath is too hot"

                    N Offline
                    N Offline
                    Nish Nishant
                    wrote on last edited by
                    #10

                    Michael P Butler wrote: What advantages do we get for doing UI code in MC++ compared to doing it in C# ? None except personal preference. Basically anything you do in C# can be one-to-one mapped in VB .NET But still lot of people don't do VB .NET. Similarly some only do VB .NET. And I prefer MC++. And I can tell you that it's a cool feeling when you can use an MFC CString alongside a .NET String in the same source file. You cannot do that with C# or VB .NET, can you? Nish


                    Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                    R 1 Reply Last reply
                    0
                    • M Michael P Butler

                      Nish - Native CPian wrote: I hope they bring it out as a Service Pack [which is free] instead of as a new version [which won't be free] Surely you'll just be using a pirated version anyway :-D :-D :-D Michael :-) "Eureka" is Greek for "This bath is too hot"

                      N Offline
                      N Offline
                      Nish Nishant
                      wrote on last edited by
                      #11

                      Michael P Butler wrote: Surely you'll just be using a pirated version anyway Pirated versions don’t come free MPB. You gotta pay for them. And if you compare salaries, I pay as much of my monthly salary for a pirated CD, that a regular software guy in most other countries would pay for a legal copy of VS .NET. Anyway I strongly intend to make some money and get myself a LEGAL MSDN subscription. Nish


                      Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                      1 Reply Last reply
                      0
                      • M Michael P Butler

                        Nish - Native CPian wrote: I hope they bring it out as a Service Pack [which is free] instead of as a new version [which won't be free] Surely you'll just be using a pirated version anyway :-D :-D :-D Michael :-) "Eureka" is Greek for "This bath is too hot"

                        J Offline
                        J Offline
                        James T Johnson
                        wrote on last edited by
                        #12

                        Nish may use some pirated software but his VS.NET CDs ARE originals from Microsoft. Its just that they were originally given to me and we'll just say that Nish pulled them out of the trash can next to my desk right after I tossed them :P Come to think of it, I still have another set sitting next to me :-D Michael P Butler wrote: "Eureka" is Greek for "This bath is too hot" Nothing gets you thinking like burning your jewels in the morning. ;) James

                        N 1 Reply Last reply
                        0
                        • J James T Johnson

                          If the rest of your app is in MC++ you don't have to ship a separate assembly for the UI ;P Otherwise there isn't an advantage that I can think of. James

                          N Offline
                          N Offline
                          Nish Nishant
                          wrote on last edited by
                          #13

                          James T. Johnson wrote: Otherwise there isn't an advantage that I can think of. Some languages are more comfortable. When you do MC++, you don't feel as alienated from real unmanaged life as when you do C# Nish


                          Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                          J 1 Reply Last reply
                          0
                          • J James T Johnson

                            Nish may use some pirated software but his VS.NET CDs ARE originals from Microsoft. Its just that they were originally given to me and we'll just say that Nish pulled them out of the trash can next to my desk right after I tossed them :P Come to think of it, I still have another set sitting next to me :-D Michael P Butler wrote: "Eureka" is Greek for "This bath is too hot" Nothing gets you thinking like burning your jewels in the morning. ;) James

                            N Offline
                            N Offline
                            Nish Nishant
                            wrote on last edited by
                            #14

                            James T. Johnson wrote: Nish may use some pirated software but his VS.NET CDs ARE originals from Microsoft. :jig: :jig: :jig: James T. Johnson wrote: Nothing gets you thinking like burning your jewels in the morning Now we know what a jewelhole is! Nish


                            Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                            1 Reply Last reply
                            0
                            • N Nish Nishant

                              James T. Johnson wrote: Otherwise there isn't an advantage that I can think of. Some languages are more comfortable. When you do MC++, you don't feel as alienated from real unmanaged life as when you do C# Nish


                              Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                              J Offline
                              J Offline
                              James T Johnson
                              wrote on last edited by
                              #15

                              Nish - Native CPian wrote: When you do MC++, you don't feel as alienated from real unmanaged life as when you do C# I don't feel alienated from it because I have P/Invoke and if I really need to, I know I can just create an assembly in MC++ and do my work there. James

                              N 1 Reply Last reply
                              0
                              • J James T Johnson

                                Nish - Native CPian wrote: When you do MC++, you don't feel as alienated from real unmanaged life as when you do C# I don't feel alienated from it because I have P/Invoke and if I really need to, I know I can just create an assembly in MC++ and do my work there. James

                                N Offline
                                N Offline
                                Nish Nishant
                                wrote on last edited by
                                #16

                                James T. Johnson wrote: I have P/Invoke James T. Johnson wrote: create an assembly in MC++ Why go to all that bother just to do C#? What's so appealing about it? Nish


                                Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                                J 1 Reply Last reply
                                0
                                • N Nish Nishant

                                  James T. Johnson wrote: I have P/Invoke James T. Johnson wrote: create an assembly in MC++ Why go to all that bother just to do C#? What's so appealing about it? Nish


                                  Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                                  J Offline
                                  J Offline
                                  James T Johnson
                                  wrote on last edited by
                                  #17

                                  For .NET code its a lot cleaner to me. You need to be aware of a few performance tweaks (such as avoiding unnecessary boxing) but over all the syntax is much better. Which of these do you prefer? MC++

                                  ptr = *dynamic_cast<__box System::IntPtr*>(arlist->Item[index]);

                                  or this C#

                                  ptr = (IntPtr) arlist[index]

                                  However, the code I sent you the other day would convince me to switch to MC++ in a heart beat :cool: James

                                  N 1 Reply Last reply
                                  0
                                  • J James T Johnson

                                    For .NET code its a lot cleaner to me. You need to be aware of a few performance tweaks (such as avoiding unnecessary boxing) but over all the syntax is much better. Which of these do you prefer? MC++

                                    ptr = *dynamic_cast<__box System::IntPtr*>(arlist->Item[index]);

                                    or this C#

                                    ptr = (IntPtr) arlist[index]

                                    However, the code I sent you the other day would convince me to switch to MC++ in a heart beat :cool: James

                                    N Offline
                                    N Offline
                                    Nish Nishant
                                    wrote on last edited by
                                    #18

                                    James T. Johnson wrote: However, the code I sent you the other day would convince me to switch to MC++ in a heart beat Yeah. That was cool :-)


                                    Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                                    1 Reply Last reply
                                    0
                                    • N Nish Nishant

                                      Michael P Butler wrote: What advantages do we get for doing UI code in MC++ compared to doing it in C# ? None except personal preference. Basically anything you do in C# can be one-to-one mapped in VB .NET But still lot of people don't do VB .NET. Similarly some only do VB .NET. And I prefer MC++. And I can tell you that it's a cool feeling when you can use an MFC CString alongside a .NET String in the same source file. You cannot do that with C# or VB .NET, can you? Nish


                                      Author of the romantic comedy Summer Love and Some more Cricket [New Win] Buy it, read it and admire me :-)

                                      R Offline
                                      R Offline
                                      Rocky Moore
                                      wrote on last edited by
                                      #19

                                      Nish - Native CPian wrote: And I can tell you that it's a cool feeling when you can use an MFC CString alongside a .NET String in the same source file. You cannot do that with C# or VB .NET, can you? Actually, isn't that an ATL string [in] MFC [in] .NET ;) Rocky Moore

                                      N 1 Reply Last reply
                                      0
                                      • R Rocky Moore

                                        Nish - Native CPian wrote: And I can tell you that it's a cool feeling when you can use an MFC CString alongside a .NET String in the same source file. You cannot do that with C# or VB .NET, can you? Actually, isn't that an ATL string [in] MFC [in] .NET ;) Rocky Moore

                                        N Offline
                                        N Offline
                                        Nish Nishant
                                        wrote on last edited by
                                        #20

                                        Rocky Moore wrote: Actually, isn't that an ATL string [in] MFC [in] .NET Yes it is :-D


                                        Author of the romantic comedy Summer Love and Some more Cricket [New Win]

                                        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