重吉
Lv 6
重吉 asked in 電腦與網際網路程式設計 · 1 decade ago

VC++ build error 訊息

在原有的程式架構下,加了一個新的function,但是在build時卻無法執行,其錯誤訊息:

--------------------Configuration: isp - Win32 Debug--------------------

Linking...

isp.obj : error LNK2001: unresolved external symbol _Hist

Debug/isp.exe : fatal error LNK1120: 1 unresolved externals

Error executing link.exe.

Creating browse info file...

目前Project\setting的設定為

1. Not Using MFC

也有試過修改Project\setting其他設定

2. Use MFC in a Static Library

3. Use MFC in a Shared DLL

但也都是錯誤的!

請問是什麼地方出錯了呢?

1 Answer

Rating
  • 1 decade ago
    Favorite Answer

    找不到這個function "symbol _Hist"

    是不是忘了宣告呢

    Source(s): 自己
Still have questions? Get your answers by asking now.