windows - Why will my project not debug? -


i downloaded microsoft visual c++ , trying run simple hello world. however, when go debug, error "unable start program 'c:\users\sterling\documents\visual studio2010\projects\test\debug\test.dll'"

and thats it. doesn't why can't start it...it says can't. has experienced this? , know answer? i'm thinking reinstalling it, hoping find easy solution first. there separate program need start .dll files? got laptop week ago may not have yet. on windows 7. thank help.

you have built project dll. cannot run dlls standalone. if meant build program (.exe), change project settings.

right click project in solution explorer, click properties - edit configuration properties -> general -> configuration type "application (.exe)".

if want build (and run) project dll, have write program uses in order to test it. separate 'testdll' exe project in same solution existing dll.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -