当前位置: 代码迷 >> WinCE >> 从VC6.0 到EVC报错.请
  详细解决方案

从VC6.0 到EVC报错.请

热度:43   发布时间:2016-04-28 13:30:11.0
从VC6.0 到EVC报错.请高手指点
-------------------Configuration:   MySqurt   -   Win32   (WCE   emulator)   Debug--------------------
Compiling...
MySqurt.cpp
E:\WORKING\WIN   CE\MySqurt\MySqurt.cpp(104)   :   error   C2664:   'CreateThread '   :   cannot   convert   parameter   3   from   'int   (void   *) '   to   'unsigned   long   (__cdecl   *)(void   *) '
                None   of   the   functions   with   this   name   in   scope   match   the   target   type
E:\WORKING\WIN   CE\MySqurt\MySqurt.cpp(266)   :   error   C2664:   'CreateThread '   :   cannot   convert   parameter   3   from   'int   (void   *) '   to   'unsigned   long   (__cdecl   *)(void   *) '
                None   of   the   functions   with   this   name   in   scope   match   the   target   type
E:\WORKING\WIN   CE\MySqurt\MySqurt.cpp(287)   :   error   C2664:   'recv '   :   cannot   convert   parameter   2   from   'unsigned   char   * '   to   'char   * '
                Types   pointed   to   are   unrelated;   conversion   requires   reinterpret_cast,   C-style   cast   or   function-style   cast
E:\WORKING\WIN   CE\MySqurt\MySqurt.cpp(295)   :   error   C2664:   'recv '   :   cannot   convert   parameter   2   from   'unsigned   char   * '   to   'char   * '
                Types   pointed   to   are   unrelated;   conversion   requires   reinterpret_cast,   C-style   cast   or   function-style   cast
E:\WORKING\WIN   CE\MySqurt\MySqurt.cpp(313)   :   error   C2440:   '= '   :   cannot   convert   from   'void   * '   to   'unsigned   char   * '
                Conversion   from   'void* '   to   pointer   to   non- 'void '   requires   an   explicit   cast
E:\WORKING\WIN   CE\MySqurt\MySqurt.cpp(315)   :   error   C2664:   'ReadFile '   :   cannot   convert   parameter   4   from   'int   * '   to   'unsigned   long   * '
                Types   pointed   to   are   unrelated;   conversion   requires   reinterpret_cast,   C-style   cast   or   function-style   cast
E:\WORKING\WIN   CE\MySqurt\MySqurt.cpp(324)   :   error   C2664:   'send '   :   cannot   convert   parameter   2   from   'unsigned   char   * '   to   'const   char   * '
                Types   pointed   to   are   unrelated;   conversion   requires   reinterpret_cast,   C-style   cast   or   function-style   cast
E:\WORKING\WIN   CE\MySqurt\MySqurt.cpp(329)   :   error   C2664:   'recv '   :   cannot   convert   parameter   2   from   'unsigned   char   * '   to   'char   * '
  相关解决方案