Thread: can not find MSVCR80D.dll?

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    can not find MSVCR80D.dll?

    Hello everyone,


    If I change the entry point to main in linker --> advanced (default is empty). Then there will be an error box,

    can not find MSVCR80D.dll. What is wrong with my code? (if I change the entry point of application from main to empty, there is no such error)

    Code:
    static int i = 100;
    
    int main(int argc, char** argv)
    {
    	int j;
    
    	return 0;
    }
    I am using Visual Studio 2005 console application project.


    thanks in advance,
    George

  2. #2
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    What's wrong with your code? What's wrong is, you've changed the entry point. It seems to take three or more threads to get this through to you. You CAN'T just change the entry point to main(), you're not optimizing anything by doing so, just give up already.

  3. #3
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,210
    Quote Originally Posted by brewbuck View Post
    What's wrong with your code? What's wrong is, you've changed the entry point. It seems to take three or more threads to get this through to you. You CAN'T just change the entry point to main(), you're not optimizing anything by doing so, just give up already.
    What he said.... ^^

  4. #4
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Look, if you REALLY want to decrease the time spent before main(), you can look into using a different C library. They do exist. newlib is one example.

    You CANNOT just skip all the code that runs prior to main(). Why not? I'd say this DISASTROUS FAILURE is a great example of one reason why not.

  5. #5
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Read this - then you'll know what you'll be omitting by changing the entry point.

    http://msdn.microsoft.com/msdnmag/is...d/default.aspx

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem building Quake source
    By Silvercord in forum Game Programming
    Replies: 16
    Last Post: 07-11-2010, 09:13 AM
  2. could not find -lwsock32.lib
    By thomas_joyee in forum C++ Programming
    Replies: 8
    Last Post: 07-14-2008, 12:28 PM
  3. How to find O of threads ?
    By jabka in forum C Programming
    Replies: 3
    Last Post: 03-11-2008, 12:25 PM
  4. how do u find 2nd largest number??
    By juancardenas in forum C Programming
    Replies: 8
    Last Post: 02-14-2003, 08:28 AM
  5. Q: Recursion to find all paths of a maze
    By reti in forum C Programming
    Replies: 7
    Last Post: 11-26-2002, 09:28 AM