Thread: Good Visual Studio Resource?

  1. #1
    Registered User
    Join Date
    Sep 2020
    Posts
    15

    Good Visual Studio Resource?

    First time Visual Studio User. Using it out of necessity rather than preference since I'm working on an existing and extensive code base that uses that environment.

    The solution compiles fine, my project which uses headers from that solution has a myriad of compiling errors that point to those very same headers that compiled fine before but now have 'local' and 'global' dependency problems, and by global I mean Windows things, like integer typefs etc.

    I have no idea what is going on. Give me a Make file and a text editor and I'm happy. These IDEs are just overly complicated and in trying to make things simpler they succeed only in taking control from the user.

    Anyway, I'm looking for recommendations on a good resource that touches on how Visual Studio (with MSVC++) handles compilation and linking. I fear until I learn what is going on behind the scenes I won't understand what I'm missing in my project.

    Thank you!

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Could this be some kind of precompiled header issue?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Sep 2020
    Posts
    150
    Sounds you added a project to an existing solution. Did you add the references to the other projects in the solution?
    What version of Visual Studio do you use?
    There are books about Visual Studio on Amazon but I am not sure id they are helpful for your problem.
    Without seeing all the solution and project settings it's difficult to guess what's wrong.
    Could you maybe upload the solution(without binaries) at dropbox or onedrive...?

  4. #4
    Registered User
    Join Date
    Sep 2020
    Posts
    15
    I don't think it's a matter of precompiled headers. I think I'm just configuring my project incorrectly. But who knows, you might be on to something.

    @thmm, you are correct I am adding a project into an existing solution. I started with an empty project and started configuring things left and right according to the error logs I was seeing.
    Here's the solution and my project. I deleted everything inside the 'Debug' folders I hope that doesn't remove anything you may need to build the solution.

    https://privfile.com/download.php?fi...61906-ODE1Mg==

    Please forgive the file hosting site, it was the first semi-decent result from google. And thank you so much for your help!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Is Visual Studio really good ?
    By MartinR in forum C Programming
    Replies: 8
    Last Post: 03-30-2014, 05:19 PM
  2. Replies: 4
    Last Post: 09-05-2010, 04:43 AM
  3. Good guides, tutorials, links.. for Micr.Visual (Studio) C++ 2005 !!
    By mynickmynick in forum Windows Programming
    Replies: 4
    Last Post: 08-11-2008, 09:17 AM
  4. visual studio 6 and visual studio.net difference
    By gemini_shooter in forum Tech Board
    Replies: 5
    Last Post: 02-04-2006, 01:32 AM
  5. Looking for good Visual Studio .NET books
    By gicio in forum C# Programming
    Replies: 1
    Last Post: 12-29-2002, 12:35 PM

Tags for this Thread