zoukankan      html  css  js  c++  java
  • VC6.0常见编译错误及解决方法

    1、运行时碰到下面错误:
      The   value   of   ESP   was   not   properly   saved   across   a   function   call.     This   is   usually   a   result   of   calling   a   function   declared   with   one   calling   convention   with   a   function   pointer   declared   with   a   different   calling   convention.
       这个错误通常是因为调用方式不一致导致的错误。尤其是DLL调用时,很容易出现这个问题
      解决方法:在定义函数调用的时候,一定要注明调用方式!如导入函数的 declspec(dllimport),导出函数declspec(dllexport)。

    2、编译时遇到下面错误:
       F:\Program Designer\Program\c++\CloseWindow\CloseError.rc (70): error RC2176 : old DIB in res\ProgramDefaults.ico; pass it through SDKPAINT
        这是由于载入的资源文件(ProgramDefaults.ico)是真彩色,即3个字节的,而VC6.0只支持256色,因此出现错误!
  • 相关阅读:
    【转载】#349
    【转载】#346
    【转载】#344
    【转载】#336
    【转载】#335
    【转载】#330
    【转载】#324
    win2008远程桌面卡顿和上传慢的解决方法
    sql2005导出数据字典
    第03组 Alpha冲刺 (6/6)
  • 原文地址:https://www.cnblogs.com/ubunoon/p/1202012.html
Copyright © 2011-2022 走看看