⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 链接错误unresolved external symbol _main的解决.mht

📁 VC编译出错的问题解决方法。比如:LNK2001解决外部符号错误
💻 MHT
📖 第 1 页 / 共 5 页
字号:
                  id=3DArticleTitle1_ArticleTitle1_lblKeywords>VC,link=20
                  error,ATL</SPAN></TD></TR>
              <TR>
                <TD align=3Dmiddle bgColor=3D#003399 height=3D16><FONT=20
                  color=3D#ffffff>=B3=F6=B4=A6</FONT></TD>
                <TD>&nbsp; <SPAN=20
                  =
id=3DArticleTitle1_ArticleTitle1_lblSource></SPAN></TD></TR></TBODY></TAB=
LE></TD></TR>
        <TR>
          <TD width=3D10></TD>
          <TD><SPAN=20
            =
id=3DArticleContent1_ArticleContent1_lblContent>&nbsp;<B><SPAN=20
            style=3D"FONT-SIZE: 18pt; COLOR: red; FONT-FAMILY: =
=CB=CE=CC=E5; mso-ascii-font-family: 'Times New Roman'; =
mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: =
22.0pt">=C1=B4=BD=D3=B4=ED=CE=F3</SPAN></B><B><SPAN=20
            lang=3DEN-US=20
            style=3D"FONT-SIZE: 18pt; COLOR: red; mso-font-kerning: =
22.0pt">"unresolved=20
            external symbol _main"<o:p></o:p></SPAN></B>=20
            <P class=3DMsoNormal=20
            style=3D"MARGIN: 0cm 12pt 3pt 9pt; TEXT-ALIGN: left; =
mso-layout-grid-align: none; mso-outline-level: 1"=20
            align=3Dleft><SPAN lang=3DEN-US=20
            style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial; =
mso-font-kerning: 0pt">Article=20
            last modified on 2002-3-2</SPAN><SPAN lang=3DEN-US=20
            style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: 0pt"><o:p></o:p></SPAN></P>
            <P class=3DMsoNormal=20
            style=3D"MARGIN: 0cm 12pt 0pt 13.5pt; TEXT-ALIGN: left; =
mso-layout-grid-align: none; tab-stops: 57.0pt 105.0pt 153.0pt 201.0pt =
249.0pt 297.0pt 345.0pt 393.0pt 441.0pt 489.0pt 537.0pt"=20
            align=3Dleft><SPAN lang=3DEN-US=20
            style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: =
0pt">------------------------------------------------------------</SPAN><=
/P>
            <P class=3DMsoNormal=20
            style=3D"MARGIN: 0cm 12pt 0pt 13.5pt; TEXT-ALIGN: left; =
mso-layout-grid-align: none; tab-stops: 57.0pt 105.0pt 153.0pt 201.0pt =
249.0pt 297.0pt 345.0pt 393.0pt 441.0pt 489.0pt 537.0pt"=20
            align=3Dleft><SPAN lang=3DEN-US=20
            style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: 0pt">The=20
            information in this article applies to:</SPAN><SPAN =
lang=3DEN-US=20
            style=3D"FONT-SIZE: 12pt; mso-font-kerning: =
0pt"><o:p></o:p></SPAN></P>
            <P class=3DMsoNormal=20
            style=3D"TEXT-ALIGN: left; mso-layout-grid-align: none"=20
            align=3Dleft><SPAN lang=3DEN-US=20
            style=3D"FONT-SIZE: 5pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: 0pt"><SPAN=20
            style=3D"mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN =
lang=3DEN-US=20
            style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: 0pt"><SPAN=20
            style=3D"mso-spacerun: yes">&nbsp;</SPAN>- Microsoft ATL 2.X =

            </SPAN><SPAN lang=3DEN-US=20
            style=3D"FONT-SIZE: 12pt; mso-font-kerning: =
0pt"><o:p></o:p></SPAN></P>
            <P class=3DMsoNormal=20
            style=3D"MARGIN: 0cm 12pt 0pt 13.5pt; TEXT-ALIGN: left; =
mso-layout-grid-align: none; tab-stops: 57.0pt 105.0pt 153.0pt 201.0pt =
249.0pt 297.0pt 345.0pt 393.0pt 441.0pt 489.0pt 537.0pt"=20
            align=3Dleft><SPAN lang=3DEN-US=20
            style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: =
0pt">------------------------------------------------------------</SPAN><=
/P>
            <H1><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=CF=D6=CF=F3=A3=BA</SPAN></H1>
            <TABLE class=3DMsoNormalTable=20
            style=3D"BORDER-RIGHT: medium none; BORDER-TOP: medium none; =
BACKGROUND: #f3f3f3; MARGIN-LEFT: 5.4pt; BORDER-LEFT: medium none; =
BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; =
mso-table-layout-alt: fixed; mso-border-alt: double silver 1.5pt; =
mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-insideh: 1.5pt double =
silver; mso-border-insidev: 1.5pt double silver"=20
            cellSpacing=3D0 cellPadding=3D0 border=3D1>
              <TBODY>
              <TR=20
              style=3D"HEIGHT: 226.7pt; mso-yfti-irow: 0; =
mso-yfti-lastrow: yes">
                <TD=20
                style=3D"BORDER-RIGHT: silver 1.5pt double; =
PADDING-RIGHT: 5.4pt; BORDER-TOP: silver 1.5pt double; PADDING-LEFT: =
5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: silver 1.5pt double; WIDTH: =
477pt; PADDING-TOP: 0cm; BORDER-BOTTOM: silver 1.5pt double; HEIGHT: =
226.7pt"=20
                width=3D636>
                  <P class=3DMsoNormal=20
                  style=3D"TEXT-INDENT: 24pt; mso-char-indent-count: =
2.0"><SPAN=20
                  style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'; mso-bidi-font-weight: =
bold">=B5=B1=C4=E3=B1=E0=D2=EB=D2=BB=B8=F6</SPAN><SPAN=20
                  lang=3DEN-US=20
                  style=3D"FONT-SIZE: 12pt; mso-bidi-font-weight: =
bold">ATL</SPAN><SPAN=20
                  style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'; mso-bidi-font-weight: bold">=B9=A4=B3=CC=B5=C4</SPAN><SPAN=20
                  lang=3DEN-US=20
                  style=3D"FONT-SIZE: 12pt; mso-bidi-font-weight: =
bold">Release</SPAN><SPAN=20
                  style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'; mso-bidi-font-weight: =
bold">=B0=E6=CA=B1=A3=AC=C4=E3=B5=C3=B5=BD=C1=CB=CF=C2=C3=E6=D5=E2=B8=F6=C1=
=B4=BD=D3=B4=ED=CE=F3=A3=BA</SPAN><SPAN=20
                  lang=3DEN-US=20
                  style=3D"FONT-SIZE: 12pt; mso-bidi-font-weight: =
bold"><o:p></o:p></SPAN></P>
                  <P class=3DMsoNormal=20
                  style=3D"MARGIN: 0cm 12pt 0pt 13.5pt; TEXT-ALIGN: =
left; mso-layout-grid-align: none; tab-stops: 57.0pt 105.0pt 153.0pt =
201.0pt 249.0pt 297.0pt 345.0pt 393.0pt 441.0pt 489.0pt 537.0pt"=20
                  align=3Dleft><SPAN lang=3DEN-US=20
                  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: 0pt"><SPAN=20
                  style=3D"mso-spacerun: yes">&nbsp;&nbsp;=20
                  </SPAN>LIBCMT.LIB(crt0.obj) : error LNK2001: =
unresolved=20
                  external symbol _main</SPAN><SPAN lang=3DEN-US=20
                  style=3D"FONT-SIZE: 12pt; mso-font-kerning: =
0pt"><o:p></o:p></SPAN></P>
                  <P class=3DMsoNormal=20
                  style=3D"TEXT-INDENT: 24pt; mso-char-indent-count: =
2.0"><SPAN=20
                  style=3D"FONT-SIZE: 12pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times =
New Roman'; mso-bidi-font-weight: =
bold">=C8=E7=CF=C2=CD=BC=CB=F9=CA=BE=A3=BA</SPAN><SPAN=20
                  lang=3DEN-US=20
                  style=3D"FONT-SIZE: 12pt; mso-bidi-font-weight: =
bold"><o:p></o:p></SPAN></P>
                  <P class=3DMsoNormal><SPAN lang=3DEN-US=20
                  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: 0pt"><v:shapetype=20
                  id=3D_x0000_t75 coordsize=3D"21600,21600" o:spt=3D"75" =

                  o:preferrelative=3D"t" path=3D"m@4@5l@4@11@9@11@9@5xe" =
filled=3D"f"=20
                  stroked=3D"f"><v:stroke=20
                  joinstyle=3D"miter"></v:stroke><v:formulas><v:f=20
                  eqn=3D"if lineDrawn pixelLineWidth 0"></v:f><v:f=20
                  eqn=3D"sum @0 1 0"></v:f><v:f eqn=3D"sum 0 0 =
@1"></v:f><v:f=20
                  eqn=3D"prod @2 1 2"></v:f><v:f=20
                  eqn=3D"prod @3 21600 pixelWidth"></v:f><v:f=20
                  eqn=3D"prod @3 21600 pixelHeight"></v:f><v:f=20
                  eqn=3D"sum @0 0 1"></v:f><v:f eqn=3D"prod @6 1 =
2"></v:f><v:f=20
                  eqn=3D"prod @7 21600 pixelWidth"></v:f><v:f=20
                  eqn=3D"sum @8 21600 0"></v:f><v:f=20
                  eqn=3D"prod @7 21600 pixelHeight"></v:f><v:f=20
                  eqn=3D"sum @10 21600 0"></v:f></v:formulas><v:path=20
                  o:extrusionok=3D"f" gradientshapeok=3D"t"=20
                  o:connecttype=3D"rect"></v:path><o:lock v:ext=3D"edit" =

                  =
aspectratio=3D"t"></o:lock></v:shapetype><o:p></o:p></SPAN></P>
                  <P class=3DMsoNormal><SPAN lang=3DEN-US=20
                  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: 0pt"><SPAN=20
                  style=3D"mso-spacerun: yes">&nbsp;&nbsp;&nbsp;=20
                  </SPAN></SPAN><SPAN=20
                  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier =
New'; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier =
New'">=B6=F8</SPAN><SPAN=20
                  lang=3DEN-US=20
                  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: 0pt">Debug</SPAN><SPAN=20
                  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier =
New'; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier =
New'">=B0=E6=B1=BE=B5=C4=B1=E0=C1=AC=C8=B4=CB=B3=C0=FB=CD=A8=B9=FD=A1=A3<=
/SPAN><SPAN=20
                  lang=3DEN-US=20
                  style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; =
mso-font-kerning: 0pt"><o:p></o:p></SPAN></P></TD></TR></TBODY></TABLE>
            <P class=3DMsoNormal><SPAN =
lang=3DEN-US><o:p>&nbsp;</o:p></SPAN></P>
            <H1><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=D4=AD=D2=F2=D3=EB=BD=E2=BE=F6=B7=BD=B7=A8=A3=BA</SPAN></H1>
            <H3><SPAN=20
            style=3D"FONT-FAMILY: =BA=DA=CC=E5; mso-hansi-font-family: =
=BA=DA=CC=E5">=B3=F6=B4=ED=D4=AD=D2=F2=A3=BA<SPAN=20
            lang=3DEN-US><o:p></o:p></SPAN></SPAN></H3>
            <P class=3DMsoNormal style=3D"TEXT-INDENT: 21.75pt"><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=C8=E7=B9=FB=C4=E3=D4=DA=B9=A4=B3=CC=D6=D0=CA=B9=D3=C3=C1=CB</SPA=
N><SPAN=20
            lang=3DEN-US>CRT</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=BA=AF=CA=FD=A3=AC=B6=F8=D5=E2=D0=A9=BA=AF=CA=FD=D3=D6=D0=E8=D2=AA=
</SPAN><SPAN=20
            lang=3DEN-US>CRT</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=C6=F4=B6=AF=B4=FA=C2=EB=A3=AC=BE=CD=BB=E1=B3=F6=CF=D6=D5=E2=D6=D6=
=C1=B4=BD=D3=B4=ED=CE=F3=A1=A3=C4=AC=C8=CF=C7=E9=BF=F6=CF=C2=A3=AC</SPAN>=
<SPAN=20
            lang=3DEN-US>Release</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=C5=E4=D6=C3=B5=C4</SPAN><SPAN=20
            lang=3DEN-US>Preprocessor definitions</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=D6=D0=B6=A8=D2=E5=C1=CB</SPAN><SPAN=20
            lang=3DEN-US style=3D"COLOR: red">_ATL_MIN_CRT</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=A3=AC=CB=FC=BD=AB</SPAN><SPAN=20
            lang=3DEN-US>CRT</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=C6=F4=B6=AF=B4=FA=C2=EB=B4=D3=C4=E3=B5=C4</SPAN><SPAN=20
            lang=3DEN-US>EXE</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=BB=F2</SPAN><SPAN=20
            lang=3DEN-US>DLL</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=CC=DE=B3=F6=C8=A5=C1=CB=A1=A3</SPAN></P>
            <P class=3DMsoNormal style=3D"TEXT-INDENT: 21.75pt"><SPAN=20
            lang=3DEN-US></SPAN></P>
            <P class=3DMsoNormal><SPAN =
lang=3DEN-US><o:p>&nbsp;</o:p></SPAN></P>
            <H3><SPAN style=3D"FONT-FAMILY: =
=BA=DA=CC=E5">=B1=B3=BE=B0=D6=AA=CA=B6=A3=BA<SPAN=20
            lang=3DEN-US><o:p></o:p></SPAN></SPAN></H3>
            <P class=3DMsoNormal><B style=3D"mso-bidi-font-weight: =
normal"><SPAN=20
            lang=3DEN-US>1:<o:p></o:p></SPAN></B></P>
            <P class=3DMsoNormal style=3D"TEXT-INDENT: 21.75pt"><SPAN=20
            lang=3DEN-US>ATL</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=D6=A7=B3=D6=B0=D1=D2=BB=B8=F6=B7=FE=CE=F1=C6=F7</SPAN><SPAN=20
            style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =CB=CE=CC=E5; =
mso-ascii-font-family: 'Courier New'; mso-hansi-font-family: 'Courier =
New'; mso-font-kerning: 0pt; mso-bidi-font-family: 'Courier =
New'">=B1=E0=C1=AC</SPAN><SPAN=20
            style=3D"FONT-FAMILY: =CB=CE=CC=E5; mso-ascii-font-family: =
'Times New Roman'; mso-hansi-font-family: 'Times New =
Roman'">=D3=C5=BB=AF=B3=C9=D7=EE=D0=A1=B3=DF=B4=E7=BB=F2=D5=DF=D2=C0=C0=B5=
=D0=D4=D7=EE=D0=A1=A1=A3=CE=D2=C3=C7=BF=C9=D2=D4=B6=A8=D2=E5=C8=FD=B8=F6=D4=
=A4=B4=A6=C0=ED=C6=F7=B7=FB=BA=C5=C0=B4=D3=B0=CF=EC=B7=FE=CE=F1=C6=F7=B5=C4=
=D3=C5=BB=AF=A1=A3</SPAN></P>
            <P class=3DMsoNormal style=3D"TEXT-INDENT: 21.75pt"><SPAN=20
            lang=3DEN-US>_ATL_MIN_CRT<SPAN=20
            style=3D"mso-spacerun: =
yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;=20

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -