Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7047287
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:45:10+00:00 2026-05-28T02:45:10+00:00

I first made a program in eclipse (mingw compiler). Now i am translating the

  • 0

I first made a program in eclipse (mingw compiler). Now i am translating the code to Visual Studio 2008.
It is one solution with multiple projects. 2 of the projects are for running a (console) program. The other 2 projects are helper classes for those. I have set the project dependencies so that the projects are compiled in the correct order.
I now get an error message LNK2019 and LNK1120 because i have no main in the helper project.
I have tried to compile the helper projects without linking but i cant find out how i should do that. I have tried adding the -c compiler option but unsuccessful. I have also tried to add a useless main to the helper project, but then compilation fails on compiling the real main with “function cannot be overloaded”.

How can i fix this so i can have helper projects without a main?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:45:11+00:00Added an answer on May 28, 2026 at 2:45 am

    If you want to make a helper library you have to use the project type Class Library instead of Console Application

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the past, when one made a JPopupMenu visible it's first item would get
I made a program in Xcode, being a simple calculator that takes a first
i am new to java and i just made my first program: HelloWorld and
I'm just starting Java ... again. I just made a simple program class first
I made this little program while reading Head First C# . I'm trying to
Following some well-known OpenGL Haskell tutorial , I've made my first HOpenGL program. Here's
I'm writing my first gtk program, using gtkmm, and glade. I made a filechooserbutton
I've made a program that comunicates with a SQLite DB. Now, I'm trying to
First I made an app and I set its application icon to a icon
I made my first WSP with VS2008, and used WSP Builder to build and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.