Windows services

5 Messages Forum Options Options
Permalink
Zak Koufakis
Windows services
Reply Threaded More
Print post
Permalink
Has anyone created a Windows service using the EiffelStudio? Delphi, for
example, provides an API to the Windows SCM (Service Control Manager)
that can be used to make created applications register as windows
services.

 

How do we do this in EiffelStudio?

 

Thanks,

 

Zak
 
Find out more about Talis at  www.talis.com
Shared InnovationTM

 
Any views or personal opinions expressed within this email may not be those of Talis Information Ltd. The content of this email message and any files that may be attached are confidential, and for the usage of the intended recipient only. If you are not the intended recipient, then please return this message to the sender and delete it. Any use of this e-mail by an unauthorised recipient is prohibited.
 
 
Talis Information Ltd is a member of the Talis Group of companies and is registered in England No 3638278 with its registered office at Knights Court, Solihull Parkway, Birmingham Business Park, B37 7YB.


[Non-text portions of this message have been removed]


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Berend de Boer
Re: Windows services
Reply Threaded More
Print post
Permalink
>>>>> "Zak" == Zak Koufakis <zak.koufakis@...> writes:

    Zak> Has anyone created a Windows service using the EiffelStudio?
    Zak> Delphi, for example, provides an API to the Windows SCM
    Zak> (Service Control Manager) that can be used to make created
    Zak> applications register as windows services.

    Zak> How do we do this in EiffelStudio?

Doesn't work. I spend days trying to get this to work. Somehow it
clashes with Eiffel's Threading mechanism.

Things like this go a long way to explain why Eiffel didn't have more
traction in the real world. It couldn't/can't do many real world things.

With Eiffel.Net I believe you can implement this though.

--
Cheers,

Berend de Boer


[Non-text portions of this message have been removed]


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Emmanuel Stapf
RE: Windows services
Reply Threaded More
Print post
Permalink
> Doesn't work. I spend days trying to get this to work.
> Somehow it clashes with Eiffel's Threading mechanism.

Have you tried recently? I remember that for 5.7 we fixed issues when
threads are created outside the main Eiffel program. Also isn't it a
possibility to spawn an Eiffel process from a wrapper used as the actual
service?

> Things like this go a long way to explain why Eiffel didn't
> have more traction in the real world. It couldn't/can't do
> many real world things.

I would turn this the way around, it is because the majority of Eiffel
developers are happy with what they have or they don't spend enough time on
developing libraries or interfaces with the outside world. Eiffel is open
but one has to do some work to integrate with third party tools and
libraries. Eiffel Software can do part of the work but Eiffel users should
really do the rest. And with our code being open source there is really no
restriction to the later and we should encourage them to share their work
when they do something that could be reused.

Regards,
Manu


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------  
Zak Koufakis
RE: Windows services
Reply Threaded More
Print post
Permalink
In reply to this post by Berend de Boer
Berend thanks for your reply.

You sound like an "angry Eiffelist" - someone that feels "betrayed" by
the woman he is in love with. I understand your frustration but its part
and parcel of the trade-off people that like Eiffel have to make. The
woman we are in love with has other virtues (I hope I won't get into
trouble by assigning Eiffel a gender).
 
>Doesn't work. I spend days trying to get this to work. Somehow it
clashes with Eiffel's Threading mechanism.

I had a look at your website (Paul G. Crismer pointed me to it) and I am
aware of your work to write a library for this but I haven't tried it
yet. I need first to understand the underlying Windows SCM mechanism.

Can you please explain why it wouldn't work? Have you tried with a post
4.7 Eiffel version as Manu suggested?

Regards,

Zak
-----Original Message-----
From: eiffel_software@...
[mailto:eiffel_software@...] On Behalf Of Berend de Boer
Sent: 29 April 2008 22:35
To: eiffel_software@...
Subject: Re: [eiffel_software] Windows services

>>>>> "Zak" == Zak Koufakis <zak.koufakis@...> writes:

    Zak> Has anyone created a Windows service using the EiffelStudio?
    Zak> Delphi, for example, provides an API to the Windows SCM
    Zak> (Service Control Manager) that can be used to make created
    Zak> applications register as windows services.

    Zak> How do we do this in EiffelStudio?

Doesn't work. I spend days trying to get this to work. Somehow it
clashes with Eiffel's Threading mechanism.

Things like this go a long way to explain why Eiffel didn't have more
traction in the real world. It couldn't/can't do many real world things.

With Eiffel.Net I believe you can implement this though.

--
Cheers,

Berend de Boer


[Non-text portions of this message have been removed]


------------------------------------

Yahoo! Groups Links



Find out more about Talis at  www.talis.com
Shared InnovationTM

 
Any views or personal opinions expressed within this email may not be those of Talis Information Ltd. The content of this email message and any files that may be attached are confidential, and for the usage of the intended recipient only. If you are not the intended recipient, then please return this message to the sender and delete it. Any use of this e-mail by an unauthorised recipient is prohibited.
 
 
Talis Information Ltd is a member of the Talis Group of companies and is registered in England No 3638278 with its registered office at Knights Court, Solihull Parkway, Birmingham Business Park, B37 7YB.

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Berend de Boer
Re: Windows services
Reply Threaded More
Print post
Permalink
In reply to this post by Emmanuel Stapf
>>>>> "Emmanuel" == Emmanuel Stapf [ES] <manus@...> writes:

    Emmanuel> Have you tried recently? I remember that for 5.7 we fixed
    Emmanuel> issues when threads are created outside the main Eiffel
    Emmanuel> program.

I think I tried that as you suggested that at the time, but it worked
even less I believe.


    Emmanuel> Also isn't it a possibility to spawn an Eiffel process
    Emmanuel> from a wrapper used as the actual service?

The VisualBasic route.


    >> Things like this go a long way to explain why Eiffel didn't have
    >> more traction in the real world. It couldn't/can't do many real
    >> world things.

    Emmanuel> I would turn this the way around, it is because the
    Emmanuel> majority of Eiffel developers are happy with what they
    Emmanuel> have or they don't spend enough time on developing
    Emmanuel> libraries or interfaces with the outside world. Eiffel is
    Emmanuel> open but one has to do some work to integrate with third
    Emmanuel> party tools and libraries. Eiffel Software can do part of
    Emmanuel> the work but Eiffel users should really do the rest. And
    Emmanuel> with our code being open source there is really no
    Emmanuel> restriction to the later and we should encourage them to
    Emmanuel> share their work when they do something that could be
    Emmanuel> reused.

Well I agree and participate of course. But my remark was more directed
at the bewilderment some people express why Eiffel isn't used more. And
that is that integrating outside Eiffel was/is hard, especially on the
Windows platform.

So it's perhaps not the developers who don't use Eiffel as that Eiffel
wasn't very usable outside certain niches. With Eiffel.NET that
situation has changed somewhat of course.

But I must say that Eiffel now works very well on Unix :-)

--
Cheers,

Berend de Boer


[Non-text portions of this message have been removed]


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/eiffel_software/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/eiffel_software/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:eiffel_software-digest@...
    mailto:eiffel_software-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
    eiffel_software-unsubscribe@...

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/