使用 Windows 传真服务器扩展发送传真 -faxcomexlib

发布于 2024-09-17 22:21:10 字数 725 浏览 2 评论 0原文

我正在尝试查找faxcomexlib.dll。谷歌搜索后,我从 Platform SDK 安装了 Core SDK,但我仍然没有看到 System32 文件夹中列出这个 dll。这是我尝试运行的代码:

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。

I'm trying to find faxcomexlib.dll. After Googling around, I installed the Core SDK from the Platform SDK, but I still don't see this dll listed in the System32 folder. This is the code I'm trying to run:

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();

I'm using VS 2010/.NET 4.0, and I'm on Windows XP.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谜兔 2024-09-24 22:21:11

您必须在计算机上安装 Windows 传真服务和物理传真设备才能在系统中获取该 dll 32

You have to install Windows Fax Service and physical fax device on your computer to get that dll in the system 32

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文