Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

MS Visual C++: " Fatal error LINK1561: entry point must be dafined"

Hi,

I have such a message in MS Visual C++:

" Fatal error LINK1561: entry point must be dafined"

Could you please help me in this problem ?

Thanks,
FO
0 Kudos
Message 1 of 2
(9,612 Views)
See MSDN for a definition of this linker error.

This definition lists a couple of possible causes for this problem. You can also search on MSDN for LNK1561 and find quite a few other KB articles that describe bugs or other potential solutions to this problem.

The problem is basically that the linker expects to find an entry point to your EXE or DLL and you did not supply one. This MSDN topic describes how to specify an entry point. The type of entry point depends on whether you are trying to build an EXE or a DLL. For an EXE,
you typically want to specify main (for console applications) or WinMain (for Windows applications. For a DLL, you typically want to specify DllMain.
0 Kudos
Message 2 of 2
(9,612 Views)