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


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
>> >
>>
>>
>> 


Relevant Pages

  • RE: Switching monitors
    ... You certainly can move & size windows of launched applications and you're ... right it would be via the Windows API. ... control, programmatically, which monitor will be used at launch ...
    (microsoft.public.excel.programming)
  • Re: Faxing using MS Fax SDK and Windows Service w/o desktop interactio
    ... I use the C API rather than the COM API but it works in a similar fashion - ... 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 ...
    (microsoft.public.win2000.fax)
  • Re: Running apps/dlls compiled for CE3.0 on CE4.2-based OS?
    ... You're thinking of Windows CE like you'd think of Windows XP on the desktop. ... There is no 'the' Windows CE API. ... Having a problem getting an client application to launch. ... - Loader support is typically backwards compatible. ...
    (microsoft.public.windowsce.app.development)
  • Re: newbe about API
    ... Emne: Re: newbe about API ... > I found all these API-CALL strings are finally compiled to ... more than that...and Windows simply takes this to an extreme that this ... DLL, when a weak point is found (which, with Microsoft, is something ...
    (alt.lang.asm)
  • Re: In the Shallow End
    ... When a document claims how an API is supposed to be used and then gives the user examples that actually work, ... Vague in your instance means you have no context to VMS or UNIX of that era. ... Windows offers lots of this stuff. ... That's why Apple had to dump a whole paradigm to plunge ahead and take the lead. ...
    (comp.sys.mac.advocacy)

Loading