Dear all,

When I tried to build an application in eVC 3.0 and I got the error:
"error LNK2019: unresolved external symbol _WinMain referenced in function
_WinMainCRTStartup"

Can anybody help me to solve this problem?

Thanks in advance.
-Kien Bui

Re: eVC 3.0 building problem by Chris

Chris
Tue Jul 27 22:00:09 CDT 2004

Does your app have a WinMain function? I'm betting no.

-Chris


"Kien Bui" <bhkien at nospam.synerwork.com> wrote in message
news:eD$rOsEdEHA.2520@TK2MSFTNGP12.phx.gbl...
> Dear all,
>
> When I tried to build an application in eVC 3.0 and I got the error:
> "error LNK2019: unresolved external symbol _WinMain referenced in function
> _WinMainCRTStartup"
>
> Can anybody help me to solve this problem?
>
> Thanks in advance.
> -Kien Bui
>
>



Re: eVC 3.0 building problem by r_z_aret

r_z_aret
Wed Jul 28 17:23:20 CDT 2004

I just used google (http://groups.google.com/advanced_group_search) to
look up
unresolved external symbol _WinMain referenced in function
(exact phrase) in this newsgroup (microsoft.public.pocketpc.developer)
and got 19 hits. I only glanced at the list, but I'm quite sure at
least a few will be helpful.

On Wed, 28 Jul 2004 09:31:39 +0700, "Kien Bui" <bhkien at
nospam.synerwork.com> wrote:

>Dear all,
>
>When I tried to build an application in eVC 3.0 and I got the error:
>"error LNK2019: unresolved external symbol _WinMain referenced in function
>_WinMainCRTStartup"
>
>Can anybody help me to solve this problem?
>
>Thanks in advance.
>-Kien Bui
>

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
500 Harrison Ave., Suite 3R
Boston, MA 02118
www.penfact.com

Re: eVC 3.0 building problem by Kien

Kien
Thu Jul 29 02:33:57 CDT 2004

No,

That program uses MFC and there is no WinMain function.

Regards,
-Kien Bui


"Chris Tacke, eMVP" <ctacke@NOinnovativedssSPAM.com> wrote in message
news:%23mKyD8EdEHA.2520@TK2MSFTNGP12.phx.gbl...
> Does your app have a WinMain function? I'm betting no.
>
> -Chris
>
>
> "Kien Bui" <bhkien at nospam.synerwork.com> wrote in message
> news:eD$rOsEdEHA.2520@TK2MSFTNGP12.phx.gbl...
> > Dear all,
> >
> > When I tried to build an application in eVC 3.0 and I got the error:
> > "error LNK2019: unresolved external symbol _WinMain referenced in
function
> > _WinMainCRTStartup"
> >
> > Can anybody help me to solve this problem?
> >
> > Thanks in advance.
> > -Kien Bui
> >
> >
>
>



Re: eVC 3.0 building problem by Kien

Kien
Thu Jul 29 02:52:31 CDT 2004

Thanks a lot,

The problem has been solved.

Best regards,
-Kien Bui

<r_z_aret@pen_fact.com> wrote in message
news:v38gg0pgv7uihe39no4aulrov62v1lfv11@4ax.com...
> I just used google (http://groups.google.com/advanced_group_search) to
> look up
> unresolved external symbol _WinMain referenced in function
> (exact phrase) in this newsgroup (microsoft.public.pocketpc.developer)
> and got 19 hits. I only glanced at the list, but I'm quite sure at
> least a few will be helpful.
>
> On Wed, 28 Jul 2004 09:31:39 +0700, "Kien Bui" <bhkien at
> nospam.synerwork.com> wrote:
>
> >Dear all,
> >
> >When I tried to build an application in eVC 3.0 and I got the error:
> >"error LNK2019: unresolved external symbol _WinMain referenced in
function
> >_WinMainCRTStartup"
> >
> >Can anybody help me to solve this problem?
> >
> >Thanks in advance.
> >-Kien Bui
> >
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).
>
> Robert E. Zaret, eMVP
> PenFact, Inc.
> 500 Harrison Ave., Suite 3R
> Boston, MA 02118
> www.penfact.com