当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: fromfile = app.path & "\ocx\" & "actskin4.ocx" tofile = getsysdir获得系统目录函数 msgbox tofile if dir(fromfile) <> "" and dir(tofile, vbdirectory) <> &qu......
    摘要: 在vb中, type rsi_status h_read as long byte 1 bit 0 led1 as long byte 1 bit 1 end type declare function rsisethandreader lib "rsidll32" (byval chnl as long, byval addr as long, status ......


为什么在VC源程序中加<afx.h>头文件会出错

在程序中要用到时间和CString类型,加<afx.h>头函数,但总是提示出错:  
  nafxcwd.lib(thrdcore.obj)   :   error   LNK2001:   unresolved   external   symbol   __endthreadex  
  nafxcwd.lib(thrdcore.obj)   :   error   LNK2001:   unresolved   external   symbol   __beginthreadex  
  Debug/lc2.exe   :   fatal   error   LNK1120:   2   unresolved   externals  
  Error   executing   link.exe.  
  这肯定是头文件的原因,因为最简单的程序也是如此。  
  大家多多指教!

NO.1   作者: huangbeyond

把"project   Setting"的"General"的"no   using   MFC",改为另外2项中的任一项  
   
  一切就OK了


    摘要: 在安装后报错“找不到keycodev2.dll”。 谢谢了。 ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE