2010-09-08 60 views
1

我正在嘗試查找faxcomexlib.dll。在谷歌搜索後,我從Platform SDK安裝了Core SDK,但我仍然沒有看到System32文件夾中列出的這個dll。這是我試圖運行的代碼:使用Windows傳真服務器擴展發送傳真 - faxcomexlib

FAXCOMEXLib.FaxServer faxServer = new FAXCOMEXLib.FaxServerClass(); 
       //faxServer.Connect(Environment.MachineName); 
       faxServer.Connect("//My-Server");     
       FAXCOMLib.FaxDoc faxDoc = (FAXCOMEXLib.FaxDoc)faxServer.CreateDocument(FileName);    
       faxDoc.RecipientName = "Test"; 
       faxDoc.FaxNumber = "1234567890"; 
       faxDoc.DisplayName = "Test"; 
       int Response = faxDoc.Send(); 
       faxServer.Disconnect(); 

我正在使用VS 2010/.NET 4.0,而且我在Windows XP上。

回答

2

您必須在您的計算機上安裝Windows傳真服務和物理傳真設備以獲取該系統中的該DLL 32