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
Post a Comment