EiffelStudio WEL samples / tutorial

3 messages Options
Embed this post
Permalink
technoben59

EiffelStudio WEL samples / tutorial

Reply Threaded More More options
Print post
Permalink
Hi! I like Eiffel and Eiffel Software make me the possibility to use it. But I have problems with the WEL library. That from when I used version 5.6 or so.

WEL tutorial steps 1/4 are ok, but when I start step 5 it doesn't display the dialog box. Displays it only in finalized version, but I need results also when developing.

With WEL samples is worse: following instructions, they don't work ("result_exists: Postcondition violated" at run time)

My questions are:
1) How can I resolve the problem with displaying dialog boxes? Is it the problem that I use the Borland compiler provided with installation?
2) How can Eiffel Software develop a so great software and provide samples that don't immediately work?
3) In WEL tutorial step 5 there is the instruction
   create dc.make (create {WEL_FRAME_WINDOW}.make_top ("dummy"))
that seems useless. Is it a trick?

Hoping not to be rude, regards to everyone

Environment: Windows 2000 SP4 + EiffelStudio 6.4 with Borland compiler provided with installatin

Heiko Gering

Re: EiffelStudio WEL samples / tutorial

Reply Threaded More More options
Print post
Permalink

  Hi! I like Eiffel and Eiffel Software make me the possibility to use it. But I have problems with the WEL library. That from when I used version 5.6 or so.

  You should use the provided WEL library from ES 6.4

  WEL tutorial steps 1/4 are ok, but when I start step 5 it doesn't display the dialog box. Displays it only in finalized version, but I need results also when developing.

  Have you already freezed the developing version? Is WEL precompiled?

  2) How can Eiffel Software develop a so great software and provide samples that don't immediately work?

  For me it worked immediatly, but I use msc.


  3) In WEL tutorial step 5 there is the instruction
  create dc.make (create {WEL_FRAME_WINDOW}.make_top ("dummy"))
  that seems useless. Is it a trick?


  Here a device context is made. Let's say a sheet of paper, where you can paint on.



  .
  Regards
  Heiko

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

Emmanuel Stapf

RE: EiffelStudio WEL samples / tutorial

Reply Threaded More More options
Print post
Permalink
In reply to this post by technoben59
> WEL tutorial steps 1/4 are ok, but when I start step 5 it doesn't display
> the dialog box. Displays it only in finalized version, but I need results
> also when developing.

This is because those examples require a windows resources to be linked to the
executable and the way to achieve that is to freeze your application.
 
> 3) In WEL tutorial step 5 there is the instruction
>    create dc.make (create {WEL_FRAME_WINDOW}.make_top ("dummy"))
> that seems useless. Is it a trick?

Because WEL is not void-safe friendly and that we chose not to break its interface
and its examples, it sometimes requires you to create properly set attributes
before terminating the initialization of the Current object.

I do not want to downgrade WEL, but I would certainly recommend looking into
EiffelVision which is much simpler to use than WEL and is portable among our
various supported platforms.

> Environment: Windows 2000 SP4 + EiffelStudio 6.4 with Borland compiler
> provided with installatin

We have dropped support for Borland a few releases ago. We currently use MinGW
when you do choose not to use the Microsoft C compiler.

Regards,
Manu

------------------------------------------------------------------------  
Eiffel Software
805-685-1006
http://www.eiffel.com       
Customer support: http://support.eiffel.com       
User group: http://groups.eiffel.com/join       
------------------------------------------------------------------------