全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:2327
推到 Plurk!
推到 Facebook!

.NET程式叫不到同目錄下的DLL 檔

尚未結案
will1028
一般會員


發表:1
回覆:0
積分:0
註冊:2007-01-12

發送簡訊給我
#1 引用回覆 回覆 發表時間:2007-01-12 18:17:22 IP:220.130.xxx.xxx 訂閱
不知道大家有沒有遇過同樣的問題…
我現在手上有一個程式是別人用.NET開發的,他有用到的DLL也有一併給我…我放同一個目錄下…
可是執行時就一直出現叫不到DLL的錯誤訊息…
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: File or assembly name DspMath, or one of its dependencies, was not found.
File name: "DspMath"
at BlueTooth2WaveformGenerator.frmBlueTooth2WaveformGenerator.frmBlueTooth2WaveformGenerator_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNative(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
=== Pre-bind state information ===
LOG: DisplayName = DspMath, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
(Fully-specified)
LOG: Appbase = D:\
LOG: Initial PrivatePath = NULL
Calling assembly : BlueTooth2WaveformGenerator, Version=1.0.2424.22163, Culture=neutral, PublicKeyToken=null.
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: DspMath, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
LOG: Attempting download of new URL file:///D:/DspMath.DLL.





------
WillChen
編輯記錄
dllee 重新編輯於 2007-04-21 19:08:38, 註解 修改文章分類由 無 -> 問題, 提問時, 請記得選擇 [問題] 分類, 才能把分數給辛苦答題的會員, 謝謝您的配合‧‧
fPhoenix
一般會員


發表:0
回覆:20
積分:19
註冊:2005-08-11

發送簡訊給我
#2 引用回覆 回覆 發表時間:2007-02-15 11:34:51 IP:220.229.xxx.xxx 訂閱
錯誤訊息說他要讀取D:/DspMath.DLL這個路徑的檔案讀取不到,
你把這個檔案放在指定的路徑下應該就沒問題了。
tomc
一般會員


發表:41
回覆:35
積分:15
註冊:2003-07-27

發送簡訊給我
#3 引用回覆 回覆 發表時間:2007-04-14 14:46:41 IP:125.93.xxx.xxx 訂閱
放到該目錄的bin目錄下.
------
交流.學習
itsayr.np
一般會員


發表:2
回覆:6
積分:1
註冊:2006-11-06

發送簡訊給我
#4 引用回覆 回覆 發表時間:2007-08-16 18:36:02 IP:211.22.xxx.xxx 訂閱

能不能把程式放上來,光看ERROR TRACK 看不出個所以然來!
avidoggy
一般會員


發表:0
回覆:1
積分:0
註冊:2007-11-11

發送簡訊給我
#5 引用回覆 回覆 發表時間:2007-11-12 01:17:51 IP:203.72.xxx.xxx 未訂閱
不知道您有沒有"加入參考",我記得的是 .DLL 檔要引用的話,好像是要這樣,噗噗,希望對您有幫助
系統時間:2024-04-27 22:38:49
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!