Thread: C++ compilers and components.

  1. #1
    Registered User
    Join Date
    May 2007
    Posts
    4

    Smile C++ compilers and components.

    Hello !

    I'm moving from vb6 to c++. I have an existing program i want to translate.

    My program will be going on sale and c++ works best with most copy protection software. .net is easy to reverse so thats rules out that avenue of development.

    i was therefore going to implement an MFC gui and a straight rewrite of the remaining code to c++ format. I've downloaded microsoft vc++ 2005 express but now realise its missing the required libraries for mFC.

    I've also noticed most sample code on planet-source-code is based on earlier vc++6 and I can't get it to run on my machine - maybe due to the missing components.

    I like the ease of use of the microsoft products but i'm a bit reluctant to fork out $500 for the full version.

    There are a bewildering number of other compilers out there and am a bit lost as to which would offer the best solution for my needs.

    any advice would be greatly appreciated.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Did you download the platform SDK ?
    It is a separate download, and that is where you'll find a lot of the libraries.
    The Visual Studio Express FAQ on MSDN gives more info, or just google "platform SDK"
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    MSVC6.0 is quite an old compiler, Most of the source code files on planet source code are old anyway. If you have the express edition, you will have to download the platform SDK to get most of what you need, The proffesional ones, like 2003.net already have these packaged with it. But I hear your quote in paying MS outragous prices. To be honest, MS is going to be your best bet on the translation front.

    I do not personally use MS 2005 express so others maybe able to aid you better than I could,
    Double Helix STL

  4. #4
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    Darn Salem was to quick for me as usual
    Double Helix STL

  5. #5
    Registered User
    Join Date
    May 2007
    Posts
    4
    thanks for the help. Yes, i have the sdk. I've installed it according to the instructions here http://msdn.microsoft.com/vstudio/ex...k/default.aspx

    i just need need to do a simple gui. labels, textboxs and a drop down menu, which is the easiest way to go about this. the express version of 2005 seems a bit limited even with the sdk.

  6. #6
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434
    That's cause it's free They want you to shell out the big bucks for the full thing.

    Good luck!
    "Anyone can aspire to greatness if they try hard enough."
    - Me

  7. #7
    Registered User
    Join Date
    May 2006
    Posts
    903
    For some reason, you look like you want to actually translate VB6 code to C++ code without even knowing the slightest bit of C++.

  8. #8
    Registered User
    Join Date
    May 2007
    Posts
    4
    the reason is clearly stated in the post.

    i am new to c++ but understand the syntax, i feel my question as to platform use is relevant and one that makes sense to think through clearly at the start of c++ learning curve.

    Thanks for your comment, duely noted and ignored, you may now return to your life of Desolation...

    A big thanks to all others contributors

  9. #9
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Freeware copy-protection software only keeps away wanna-be reverse engineers.

    And that is the point - real reverse engineers won't just reverse engineer a program without a good reason. Probably your program wouldn't be a reason enough.

    There's always the freeware compiler - MinGW. It follows standards and is a painless solution (I don't like its ASM syntax though ).

    The time when I decided not to use too many Microsoft stuff was when I tried to install their compilers: first - it required some windows update, which I couldn't install (install hangs). I was already planning a format so that solved after a fresh install of Windows. Now I am having the same problem with another Microsoft product.

    I've also noticed that Microsoft Visual Studio Express Edition IDE has maany features, but the ones I need are missing. So I simply cannot use that.
    Last edited by maxorator; 05-20-2007 at 04:40 AM.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  10. #10
    Registered User
    Join Date
    May 2006
    Posts
    903
    Quote Originally Posted by cash4questions View Post
    the reason is clearly stated in the post.

    i am new to c++ but understand the syntax, i feel my question as to platform use is relevant and one that makes sense to think through clearly at the start of c++ learning curve.

    Thanks for your comment, duely noted and ignored, you may now return to your life of Desolation...

    A big thanks to all others contributors
    Chill, man. That wasn't meant to be an offense. You just didn't seem like knowing much about C++ and I thought you'd waste your time trying to translate VB code to C++, especially for an application that's going to be sold, without knowing C++.

    Whatever.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. intel compilers for college students
    By zxcv in forum Tech Board
    Replies: 3
    Last Post: 06-03-2008, 10:47 AM
  2. C++ Builder Comparison
    By ryanlcs in forum Tech Board
    Replies: 14
    Last Post: 08-20-2006, 09:56 AM