Hello World .net

6 messages Options
Embed this post
Permalink
aschatte

Hello World .net

Reply Threaded More More options
Print post
Permalink
Hello,

I am trying to use the .NET Application wizard to set up a simple "Hello World" executable, no console example.  When the wizard completes, the compiler gives 6 error messages:

VICT: Type is based on unknown class.  Unknown class EXCEPTION_MANAGER
... MACHINE_EXCEPTION, VARIANT_VIOLATION, BAD_INSPECT_VALUE, etc.

Is there something wrong with my installation?  (Windows XP Professional Version 2002 Service Pack 3)

I do not know how to proceed from here.

Thanks for your help.

larryliuming

Re: Hello World .net

Reply Threaded More More options
Print post
Permalink
Hello, Aschatte,

Could you tell me more information about your system setup?

For example what's your .NET version? And have you set the OS environment variables, such as ISE_EIFFEL, EIFFEL_SRC and ISE_LIBRARY?

I tired the Eiffel Studio .Net wizard (with all default settings) with .NET 2.0.50727 in both Eiffel Studio 6.4.7.9551 and Eiffel Studio 6.5.8.524. It works fine. I tired on Windows 7 with ISE_EIFFEL and EIFFEL_SRC environment values defined. However, it should work on Windows XP without the environment values defined. I'm trying on Windows XP now.


larryliuming

Re: Hello World .net

Reply Threaded More More options
Print post
Permalink
Hi, Aschatte,

I have tired Eiffel .Net application in a fresh Windows XP SP2 32bits without defining any ISE environment variables. The .Net wizard works also. My Eiffel Studio version is 6.4.7.7957 GPL Edition.

So I think, by default, the .Net application generated by Eiffel Studio wizard should work... Is your Eiffel Studio installed by the MSI installer?


aschatte

Re: Hello World .net

Reply Threaded More More options
Print post
Permalink
--- In [hidden email], "larryliuming" <larryliuming@...> wrote:
>
> Hi, Aschatte,
>
> I have tired Eiffel .Net application in a fresh Windows XP SP2 32bits without defining any ISE environment variables. The .Net wizard works also. My Eiffel Studio version is 6.4.7.7957 GPL Edition.
>
> So I think, by default, the .Net application generated by Eiffel Studio wizard should work... Is your Eiffel Studio installed by the MSI installer?
>

Hello larryliuming,
I was out yesterday and most of today so I am just now seeing your response.  Thank you for your help.  I am sure that these types of issues get a bit tiring.

I installed EiffelStudio 6.4.7.9451 GPL Edition - windows using the MSI installer.  When I first ran the .NET wizard it seemed to work fine and I was able to generate an executable.  However, I tried a version of "Heelo world" with and without the console as well as to a DLL.  Sometimes it worked and other times I got the errors referred to previously.  I then tried to clean a previously working version and recompiled it to receive the same error messages.  I have also tried repairing the Eiffel installation, to no avail.  I am planning to remove and re-install it to see how that works.  I'll let you know what I get.

aschatte

Re: Hello World .net

Reply Threaded More More options
Print post
Permalink
In reply to this post by larryliuming
--- In [hidden email], "larryliuming" <larryliuming@...> wrote:
>
> Hello, Aschatte,
>
> Could you tell me more information about your system setup?
>
> For example what's your .NET version? And have you set the OS environment variables, such as ISE_EIFFEL, EIFFEL_SRC and ISE_LIBRARY?
>
> I tired the Eiffel Studio .Net wizard (with all default settings) with .NET 2.0.50727 in both Eiffel Studio 6.4.7.9551 and Eiffel Studio 6.5.8.524. It works fine. I tired on Windows 7 with ISE_EIFFEL and EIFFEL_SRC environment values defined. However, it should work on Windows XP without the environment values defined. I'm trying on Windows XP now.
>
Hello larryliuming,

I am using .NET 2.0.50727.3082.  I installed Eiffel 6.4 without any environment variables specified.  This lead to

Installation information:
Version = EiffelStudio 6 (6.4.7.9451 GPL Edition - windows)
$ISE_EIFFEL = C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL
$ISE_LIBRARY = C:\Program Files\Eiffel Software\EiffelStudio 6.4 GPL
$ISE_PLATFORM = windows
$ISE_C_COMPILER = msc

I am going to try to uninstall and re-install and let you know what happens with this.

Thanks for your help.

aschatte

Re: Hello World .net

Reply Threaded More More options
Print post
Permalink
In reply to this post by aschatte
--- In [hidden email], "aschatte" <AlvinSchatte@...> wrote:

>
> --- In [hidden email], "larryliuming" <larryliuming@> wrote:
> >
> > Hi, Aschatte,
> >
> > I have tired Eiffel .Net application in a fresh Windows XP SP2 32bits without defining any ISE environment variables. The .Net wizard works also. My Eiffel Studio version is 6.4.7.7957 GPL Edition.
> >
> > So I think, by default, the .Net application generated by Eiffel Studio wizard should work... Is your Eiffel Studio installed by the MSI installer?
> >
>
> Hello larryliuming,
> I was out yesterday and most of today so I am just now seeing your response.  Thank you for your help.  I am sure that these types of issues get a bit tiring.
>
> I installed EiffelStudio 6.4.7.9451 GPL Edition - windows using the MSI installer.  When I first ran the .NET wizard it seemed to work fine and I was able to generate an executable.  However, I tried a version of "Heelo world" with and without the console as well as to a DLL.  Sometimes it worked and other times I got the errors referred to previously.  I then tried to clean a previously working version and recompiled it to receive the same error messages.  I have also tried repairing the Eiffel installation, to no avail.  I am planning to remove and re-install it to see how that works.  I'll let you know what I get.
>

Hello again larryliuming,

I think I may have found my problem.  When I uninstalled and re-installed V6.4, I was able to make new projects in .NET and they worked correctly.  However, when I launched these projects using the Windows shortcut, I was asked if I wanted to convert them to an older version of Eiffel Studio (V6.2).  I think this is the root of my problems (sometimes it worked and sometimes it did not).  I have since deleted my older versions of Eiffel and verified that I can open and run the projects under V6.4.  

Thanks for your help.