visual studio - Solve "LINK : fatal error LNK1561: the entry point must be defined" -




i working visual studio ultimate 2012.

if run code visual studio works properly. if take ".exe" file generates @ debug file doesn't in computer. why change menu "debug" "release", doesn't compile , shows message: "link : fatal error lnk1561: entry point must defined"

what have change @ configuration create ".exe" works in computer?

i have main defined in project void main(array<string^>^ arg)

seems signature of main function wrong. expected signature entrypoint main function should have int return type in vs2012.

please try changing signature of function to:

int main(array<string^>^ arg)

this may resolve problem.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -