Re: Faxing using MS Fax SDK and Windows Service w/o desktop intera
From: Raghavendra R [MSFT] (raghavr_at_online.microsoft.com)
Date: 12/16/04
- Next message: Dave: "Question about W2K3 Fax Security"
- Previous message: Chandrasekar [MSFT]: "Re: retrieve messages"
- In reply to: Chet: "Re: Faxing using MS Fax SDK and Windows Service w/o desktop intera"
- Next in thread: Chet: "Re: Faxing using MS Fax SDK and Windows Service w/o desktop intera"
- Reply: Chet: "Re: Faxing using MS Fax SDK and Windows Service w/o desktop intera"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Dec 2004 14:44:14 +0530
This is (technically) by design. Take a look at
http://g.msn.com/9SE/1?http://support.microsoft.com/default.aspx?scid=kb%3BEN-US%3Bq171890&&DI=4029&IG=7faedd31f51846c1aac74a2c855bc854&POS=2&CM=WPU&CE=2&CS=AWP&SR=2.
As mentioned in that article your services should be endlessly waiting for
windows messages & hence are hung.
But we'd like to listen to your scenarios in more detail. Can you please
explain us what your services do? May be we can redesign your client/service
architecture to circumvent this problem. As such, in my opinion a good
client-server model will not face this issue.
Angus you mentioned 'Zetafax can work as a service'. 'Windows Fax Service'
is also a service. I didn't quite understand your point. Is it possible to
send faxes from a (user-created) service using Zetafax APIs?
-- Raghavendra R Microsoft Printing, Imaging and Fax Team This posting is provided "AS IS" with no warranties, and confers no rights. Please do not send email directly to this alias. This alias is for newsgroup purposes only.' "Chet" <Chet@discussions.microsoft.com> wrote in message news:5BE2D0F6-AFDE-4E69-B734-372688A970F0@microsoft.com... > The MSDN documentation recommends using the Extended COM API for new > applications, and since I'm using VB.NET, it seems the most > straightforward > approach. > > Can anyone out there answer the original question for us? > Thanks - > > > "Angus Comber" wrote: > >> I use the C API rather than the COM API but it works in a similar >> fashion - >> ie the application is launched to 'print' the document. I would be very >> interested if there is a way to to solve your problem - as I need to >> solve >> this myself. My email address is fax@NOSPAMiteloffice.com - just take >> out >> the NOSPAM bit. >> >> I used to use a program called Zetafax (another fax server) which also >> needed to launch the application to 'print' - Zetafax can work as a >> service >> so there must be a way round the problem. >> >> Incidentally why not use C API? >> >> Angus Comber >> angus@NOSPAMiteloffice.com >> >> >> >> "Chet" <Chet@discussions.microsoft.com> wrote in message >> news:02428779-3C16-4015-9D7C-A44FE51A87C2@microsoft.com... >> > I'm trying to write a Windows Service that will utilize MS Fax to >> > programatically send faxes. The Service must work whether or not a >> > user >> is >> > logged in, but I'm predictably running into problems with desktop >> > interaction. My code has no user interface, but the "ConnectedSubmit" >> > function of the Extended COM Fax library causes the application >> > associated >> > with the fax document to launch, print the document to the fax server, >> > and >> > then shut down. Though far from ideal, this will work if the "Allow >> Desktop >> > Interaction" option is selected in the SCM and a user is logged in. >> > But >> if a >> > user is not logged in, the Connected Submit function just hangs until >> someone >> > logs in, and then proceeds to launch the app, etc. Does anyone have >> > any >> > suggestions? Is there any way to send the fax in the background >> > without >> > interacting with the desktop? >> > >> > Thank you very much in advance- >> > >> > Chet >> > >> >> >>
- Next message: Dave: "Question about W2K3 Fax Security"
- Previous message: Chandrasekar [MSFT]: "Re: retrieve messages"
- In reply to: Chet: "Re: Faxing using MS Fax SDK and Windows Service w/o desktop intera"
- Next in thread: Chet: "Re: Faxing using MS Fax SDK and Windows Service w/o desktop intera"
- Reply: Chet: "Re: Faxing using MS Fax SDK and Windows Service w/o desktop intera"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|