Hi ...
I'm trying to write a Fax program using C#.NET.
In SendFax section of codes I succeed in write codes for sending faxes,but I didn't know how to understand about sent fax status.
I searched in Google and I could know something about it,but in my program the codes didn't worked and it has a error:
Retrieving the COM class factory for component with CLSID {55DABFD4-5C9E-11D1-B791-000000000000} failed due to the following error: 80040154.
I have indicated the lines that have error below:
using FAXCOMEXLib;
using FAXCOMLib;
.
.
.
FAXCOMLib.FaxServer fs = new FAXCOMLib.FaxServerClass();
FAXCOMLib.FaxJobsClass fj = new FAXCOMLib.FaxJobsClass();
FAXCOMLib.FaxStatusClass fst = new FAXCOMLib.FaxStatusClass();
FAXCOMLib.FaxPortClass fp = new FAXCOMLib.FaxPortClass();
int send = 0;
fp = (FaxPortClass) fs.GetPorts();
fst = (FaxStatusClass)fp.GetStatus();
fs.Connect("Hedayati-PC");
FAXCOMLib.FaxDoc faxDoc = (FAXCOMLib.FaxDoc)fs.CreateDocument(txtFileLocation.Text);
send = faxDoc.Send();
.
.
.
etc
My OS is Windows Seven 64bits and I set the compile platform to x86.
Please guide me the correct way.
Thanks very much!
====================== Update ===============================
My problem isn't solved yet.
I think my FaxComLib.DLL isn't work correctly.I tried to register it in my Windows 7 but it shows an error: 0x8002801c to me. I test it by Dependency Walker and it has an Error. I search in google several of hours but I could't find any fresh FaxComLib.DLL file.
Please help me in this case.
Thank you.