CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 33

Threaded View

  1. #1
    Join Date
    Aug 2010
    Posts
    47

    Question Moving from VC++ 6.0 to VC++.NET

    I have, what to me, looks like a large project. Originally written about 90% in VB6 and the remainder in VC++ (Visual C++ 6.0 Enterprise Edition). There are maybe 2,000 lines of code written in VC++ which constitute a DLL with about 80 functions (81 to be precise)

    There are two reasons I have used VC++. The first is that speed is of the essence - the program may literally run for weeks finding solutions and the speed of the central loop is crucial. From experience it seems like the routines in VC++ run about three times quicker than the equivalent written in VB6

    Secondly, I have written a lot of bit handing routines using inline ASM.

    I have spent several months converting the VB6 stuff into vb.net (which run at about half the speed of VB6) and am now looking at the VC++ stuff

    Some questions:

    1. Is VC++.net going to run at the same speed as vb.net as I understand they both translate into an Intermediate language? If so, it will be a LOT slower than VC++ 6.0?

    2. Can I use inline ASM in VC+.net?

    3. Can I view (somehow) the disassembled code as I can in VC++? This is very handy when you are trying to optimise speed

    4. What version of VC++.net should I use (I am currently using VB 2010 but am happy to spend money and upgrade if necessary)

    5. Any general observations from people who have already experienced this transition will be very much appreciated

    Many thanks!
    Last edited by wavering; August 1st, 2014 at 02:52 AM.
    MOPEKS - a freeware program that generates programs that use each other to solve problems. Is this the correct route to a genuinely intelligent machine?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured