unresolved main and wmain



Hi all,
I'm building an application with defined WinMain, and the linker generate
two errors:
unresolved external _main()
unresolved external _wmain()

The preproc has UNICODE and _UNICODE defined.

libaries linked are:

Ws2 coredll corelibc ole32 oleaut32 uuid commctrl, (and some others user
defined)

OS is Wince 6.0

Any suggestoin?

Thank in advance,
Paolo


.



Relevant Pages

  • Re: Strings zwischen Win32 und WinCE konvertieren
    ... Ich habe jetzt ganz frech auch für Win32 _UNICODE ... definiert, erhalte dann aber vom Linker die Medung, er könne _WinMain@16 ...
    (microsoft.public.de.vc)
  • Re: How to dsiplay unicode chars?
    ... and it would make all the necessary changes for me. ... but I thought the bug in VC6 was the UNICODE entrypoint was ... and the misnamed one is what you type into the Linker dialog. ...
    (microsoft.public.vc.mfc)
  • Re: How to display specific unicode characters?
    ... I have noticed something: "special wide WinMain" ... #define, not real functions ... So if you switch the project to Unicode ... But you will probably have troubles with strings and character types. ...
    (microsoft.public.win32.programmer.gdi)
  • Re: unresolved main and wmain
    ... application entry point: it looks like you are building a console ... I'm building an application with defined WinMain, ... The preproc has UNICODE and _UNICODE defined. ...
    (microsoft.public.windowsce.app.development)
  • Re: unresolved main and wmain
    ... it is'nt a console application. ... application entry point: it looks like you are building a console ... I'm building an application with defined WinMain, ... The preproc has UNICODE and _UNICODE defined. ...
    (microsoft.public.windowsce.app.development)

Loading