Sign in to follow this  

Adding a custom entry point using visual studio 2008

This topic is 1503 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

So, I've noticed in the Advanced property page under linker that I can specify my own entry point....this intrigues me. I tried to make my own but got this error: 

1>LINK : error LNK2001: unresolved external symbol _/ENTRY:flash

and this is what I'm putting in the Entry Point property page:

 

http://puu.sh/52BUJ.png

 

Let me know what I can do to fix this.

Share this post


Link to post
Share on other sites

Most likely, remove "/ENTRY:" from your string.  Since the box is labeled "Entry point" it is probably adding that prefix for you.  You can verify it by looking at the actual command line parameters that will be used, which I believe is on the "Command Line" page.

 

I'm guessing right now the linker is being given this command:  "/ENTRY:_/ENTRY:flash"  Remove the duplicate prefix and it should be fine.

Share this post


Link to post
Share on other sites

This topic is 1503 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this