Jump to content
  • Advertisement
Sign in to follow this  
Enerjak

Adding a custom entry point using visual studio 2008

This topic is 1696 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
Advertisement

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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!