使用 Windows 传真服务器扩展发送传真 -faxcomexlib
我正在尝试查找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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须在计算机上安装 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