CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2010
    Posts
    18

    what am I doing wrong?

    There was no errors before until now. :\

    Code:
    1>------ Build started: Project: Run, Configuration: Debug Win32 ------
    1>  Run.cpp
    1>LINK : fatal error LNK1561: entry point must be defined
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Yes, I am using c++ visual 2010.

    What did I do wrong?

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: what am I doing wrong?

    Something wrong in the project settings, maybe? Did you change anything?

  3. #3
    Join Date
    Apr 2010
    Location
    Dayton, OH
    Posts
    16

    Re: what am I doing wrong?

    I believe the error is stating that you don't have a main entry point into the program. This could be a function called WinMain, main, or DllMain, depending on your project settings. Verify that you didn't accidentally remove/change your entry point.

  4. #4
    Join Date
    Apr 2010
    Posts
    18

    Re: what am I doing wrong?

    Ok fixed thanks everyone

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