Hi,
This is my code:
FAXCOMLib.FaxServerClass fxsvr = new FAXCOMLib.FaxServerClass();
FAXCOMLib.FaxDocClass fxdoc;
try
{
fxsvr.Connect(""); // null for local fax server otherwise a computername
fxdoc = (FAXCOMLib.FaxDocClass)fxsvr.CreateDocument(@"c:\test.txt");
fxdoc.FaxNumber = "0269446970";
fxdoc.Send();
fxsvr.Disconnect();
}
catch (Exception ex )
{
Console.WriteLine( ex.ToString());
}
But the call of fxsvr.Connect("") throws an
System.Runtime.InteropServices.COMException exception and the message is "Unspecified error"
Do you know why that?