eiffelroom

Tutorial

article

How to get the output of a command using EiffelProcess

This is a quite basic but essential operation: Launch a command, and get its output in a string.

There are various solutions.

  • One is to redirect the output to a temporary file, and then read its content. But this is not convenient, since it require disk access, and you can not always hide the process.

article

Eiffel exceptions

A common question asked about Eiffel, especially those coming from Java or C# backgrounds is, where's my try...catch...finally block?

article

Integrating Eiffel with COM

Integrating Eiffel in to a COM environment is remarkably easy as the tools that handle the majority of the heavy lifting related to COM development already exist. Programming dynamically with COM is very different than programming statically with Eiffel so I've included common pitfall concept translations for these instances.

article

Getting Started with Db4o for Eiffel

This page provides a step-by-step guide, showing you how to use db4o databases within Eiffel for .NET applications.

Step 1: Download Db4o Assembly

article

How to save a Jpg file with quality option

The result

First let's see the results of images in different quality levels. The highest quality is 100, the lowest quality is 0.

Original image: Goleta_Flower_orignal

Quality 100 image: (Maybe because the image is too big, 2.6mb, we can't upload it now. Sorry.) Goleta_Flower_with_quality_100

Quality 75 image: Goleta_Flower_with_quality_75

article

Protecting objects

Having looked at code for interfacing Eiffel to C and creating callbacks from C to Eiffel, I frequently found that things were not done properly, resulting in potential memory corruption or crashes.

article

EiffelVision 2 HowTo's

How do I set the size of an EV_PIXMAP?

article

Using externals in multithreaded applications

Using a C/C++ external in an Eiffel system is pretty easy. Simply do a C/C++ inline and provide the arguments to the C/C++ externals.

When transforming the same system into a multithreaded application one has to pay attention to something else: C/C++ externals that may take a long time to execute.

Using blocking qualifier

article

Creating a web application with Goanna

This is a short tutorial for building web applications with Goanna

It covers the following topics

  • Installing all the software you need
  • Getting to know Goanna
  • A short description on how to develop a web application with Goanna

How it all works

Goanna offers many different services and layers of abstraction.

article

Fun with Generics

Intro

We all know about generics as a wonderful help to implement container data structures like lists, sets, bags etc. Much later than Eiffel, object-oriented programming languages like Java and C# have understood that generic parameters are a powerful extension to the type system and remove the need for many casts. So, what else can we do with generics beyond containers?

Syndicate content
about - contact