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

📄 gdi+编程中的一条错误信息及其原因分析.htm

📁 GDI编程的参考资料
💻 HTM
📖 第 1 页 / 共 5 页
字号:
                  <SCRIPT type=text/javascript>
<!--
document.write(baiduCproIFrame());
-->
</SCRIPT>
                </TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
        <TBODY>
        <TR>
          <TD background=GDI+编程中的一条错误信息及其原因分析.files/side_bg_r1_c1.gif 
            height=34><TABLE cellSpacing=0 cellPadding=0 width="100%" 
              border=0><TBODY>
              <TR>
                <TD width=10></TD>
                <TD width=20><IMG height=14 
                  src="GDI+编程中的一条错误信息及其原因分析.files/ico_015.gif" width=13 
                border=0></TD>
                <TD width=100>热点文章</TD>
                <TD width=85></TD>
                <TD width=5></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD background=GDI+编程中的一条错误信息及其原因分析.files/side_bg_r2_c1.gif>
            <TABLE cellSpacing=0 cellPadding=0 width=200 align=center 
              border=0><TBODY>
              <TR>
                <TD height=200>
                  <TABLE class=DoubleColorTable cellSpacing=0 cellPadding=0 
                  width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/3608.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        软件需求说明书编写</A><FONT color=gray>(442)</FONT></TD></TR>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/3607.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        软件可行性研究报告编写</A><FONT color=gray>(178)</FONT></TD></TR>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/32329.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        终于破解了学校的802.1X认</A><FONT color=gray>(97)</FONT></TD></TR>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/32432.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        Directshow(SDK)学习笔记九</A><FONT 
                    color=gray>(83)</FONT></TD></TR>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/32486.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        OLE技术专题——第一讲:OL</A><FONT color=gray>(74)</FONT></TD></TR>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/6298.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        Visual Studio 2005中C++的</A><FONT 
                      color=gray>(43)</FONT></TD></TR>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/32452.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        孙鑫VC++视频教程笔记之--</A><FONT color=gray>(38)</FONT></TD></TR>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/3609.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        如何写程序维护手册</A><FONT color=gray>(34)</FONT></TD></TR>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/3605.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        VC实现录音,放音,保存,打开</A><FONT color=gray>(33)</FONT></TD></TR>
                    <TR>
                      <TD height=20><A 
                        href="http://www.81000.net/html/Programme/VC/32463.shtml"><IMG 
                        src="GDI+编程中的一条错误信息及其原因分析.files/navspacer.gif" border=0> 
                        透过代理看世界(http代理</A><FONT 
                    color=gray>(32)</FONT></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
        <TR>
          <TD background=GDI+编程中的一条错误信息及其原因分析.files/side_bg_r3_c1.gif 
          height=4></TD></TR></TBODY></TABLE><!--广告结束-->
      <TABLE cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD height=2></TD></TR></TBODY></TABLE>
      <TABLE 
      style="BORDER-RIGHT: #d4d4d4 1px solid; BORDER-TOP: #d4d4d4 1px solid; BORDER-LEFT: #d4d4d4 1px solid; BORDER-BOTTOM: #d4d4d4 1px solid" 
      cellSpacing=0 cellPadding=0 width=210 align=center border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE 
            style="BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid; BORDER-BOTTOM: #ffffff 1px solid" 
            cellSpacing=0 cellPadding=0 width=208 align=center border=0>
              <TBODY>
              <TR>
                <TD align=middle><A 
                  href="http://www.epanel.com.cn:8080/epanel/epanelsite/emailregister/emailRegisterAction.html?method=register&amp;introperson=f5XXxjF6xF" 
                  target=_blank><IMG src="GDI+编程中的一条错误信息及其原因分析.files/3012.gif" 
                  width=206></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD>
    <TD width=1 bgColor=#b4b4b4></TD>
    <TD width=1 bgColor=#ffffff></TD>
    <TD width=1></TD>
    <TD vAlign=top align=middle width=553>
      <TABLE cellSpacing=0 cellPadding=0 width=548 border=0>
        <TBODY>
        <TR>
          <TD height=15></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=548 border=0>
        <TBODY>
        <TR>
          <TD class=title_td><SPAN 
            style="FONT-SIZE: 12pt"><B>GDI+编程中的一条错误信息及其原因分析</B></SPAN></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=548 border=0>
        <TBODY>
        <TR>
          <TD height=6></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=548 border=0>
        <TBODY>
        <TR>
          <TD align=middle>
            <TABLE cellSpacing=0 cellPadding=0 width=548 border=0>
              <TBODY>
              <TR>
                <TD align=right></TD>
                <TD width="20%"></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=548 border=0>
              <TBODY>
              <TR>
                <TD align=middle colSpan=4>[ 来源:81000.Net |&nbsp;时间:2005-08-29 
                  | 浏览:
                  <SCRIPT language=javascript 
                  src="GDI+编程中的一条错误信息及其原因分析.files/count.htm"></SCRIPT>
                   人次 |&nbsp;字号选择〖&nbsp;<A 
                  href="javascript:doZoom(16)">大</A>&nbsp;<A 
                  href="javascript:doZoom(14)">中</A>&nbsp;<A 
                  href="javascript:doZoom(12)">小</A>&nbsp;〗]</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=548 border=0>
        <TBODY>
        <TR>
          <TD background=GDI+编程中的一条错误信息及其原因分析.files/title_line.gif 
        height=3></TD></TR></TBODY></TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=548 border=0>
        <TBODY>
        <TR>
          <TD width=13></TD>
          <TD class=content_td width=527>
            <DIV align=center>
            <SCRIPT type=text/javascript>
var arrBaiduCproConfig=new Array();
arrBaiduCproConfig['uid'] = 12848;
arrBaiduCproConfig['n'] = 'mizunocpr';
arrBaiduCproConfig['tm'] = 30;
arrBaiduCproConfig['cm'] = 68;
arrBaiduCproConfig['um'] = 34;
arrBaiduCproConfig['rad'] = 1;
arrBaiduCproConfig['w'] = 468;
arrBaiduCproConfig['h'] = 60;
arrBaiduCproConfig['bd'] = '#003300';
arrBaiduCproConfig['bg'] = '#EDEDEB';
arrBaiduCproConfig['tt'] = '#ff0000';
arrBaiduCproConfig['ct'] = '#333333';
arrBaiduCproConfig['url'] = '#666666';
arrBaiduCproConfig['bdl'] = '#ffffff';
arrBaiduCproConfig['wn'] = 2;
arrBaiduCproConfig['hn'] = 1;
arrBaiduCproConfig['ta'] = 'right';
arrBaiduCproConfig['tl'] = 'bottom';
arrBaiduCproConfig['bu'] = 0;
</SCRIPT>

            <SCRIPT src="GDI+编程中的一条错误信息及其原因分析.files/ui.js" type=text/javascript>
</SCRIPT>

            <SCRIPT type=text/javascript>
<!--
document.write(baiduCproIFrame());
-->
</SCRIPT>
            </DIV><FONT id=zoom>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            公司不让用盗版,遂准备逐一将各软件要么换成开源的,要么就自己写,看了看,就数Acdsee最简单了(有些高级功能根本用不着),行,从这个入手吧。<BR>需求分析:基本的图片查看功能,图片格式转换功能,基本的图形变换功能。<BR>技术可行性分析:MS提供的GDI<B><FONT 
            color=#663300>+</FONT></B>已经提供了比较专业的图形显示、格式转换功能,而且简单易用。<B><FONT 
            color=#663300><BR>....</FONT></B><BR>OK,就绪,开始干吧。<BR><BR>但是在程序编写的过程中,有条错误信息让我很不解。程序中有如下语句:<BR>bmPhoto<B><FONT 
            color=#663300>&nbsp;=</FONT></B><FONT 
            color=#990000>&nbsp;new</FONT>&nbsp;Bitmap<B><FONT 
            color=#663300>(</FONT></B>&nbsp;THUMBNAIL_WIDTH<B><FONT 
            color=#663300>,</FONT></B>&nbsp;THUMBNAIL_HEIGHT<B><FONT 
            color=#663300>,</FONT></B>&nbsp;PixelFormat24bppRGB<B><FONT 
            color=#663300>&nbsp;);</FONT></B><BR>每次DEBUG编译的时候总是报告如下的错误:<BR>error&nbsp;C2660<B><FONT 
            color=#663300>:</FONT></B><FONT 
            color=#009900>&nbsp;'new'</FONT><B><FONT 
            color=#663300>&nbsp;:</FONT></B>&nbsp;function&nbsp;does<FONT 
            color=#990000>&nbsp;not</FONT>&nbsp;take<FONT 
            color=#999900>&nbsp;3</FONT>&nbsp;parameters<BR>开始以为是Bitmap的构造函数的问题,但是查了一下,Bitmap明明有个构造函数:<BR>Bitmap<B><FONT 
            color=#663300>(</FONT></B>IN&nbsp;INT&nbsp;width<B><FONT 
            color=#663300>,</FONT></B><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IN&nbsp;INT&nbsp;height<B><FONT 
            color=#663300>,</FONT></B><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IN&nbsp;PixelFormat&nbsp;format<B><FONT 
            color=#663300>&nbsp;=</FONT></B>&nbsp;PixelFormat32bppARGB<B><FONT 
            color=#663300>);</FONT></B><BR>那会是什么问题呢?上网讨论了一下,最终将问题锁定在MFC程序中的这样一个宏定义上:<FONT 

⌨️ 快捷键说明

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