1. error

Forked from Re: The Manual

Lone_EverGreen_Ranger said...

whenever I try to run a .exw file with euiw, it says "no euphoria code to execute" Why does it do this? Or this a bug or an error in the compiler of euphoria?

That message is only ever issued by the eub.exe program. This is the program that runs shrouded programs.

Are you sure you are running "euiw.exe"?

To use eub correctly, you need to do first shroud the application...

    shroud myapp.ex 
Once that is done, it creates a file called "myapp.il"; this is the shrouded application. To run this, use eub. For example ...
    eub myapp.il 


Note:
The euiw.exe program is identical to eui.exe except that if the application writes anything to a console, it creates a new console window rather than using the existing window.

new topic     » topic index » view message » categorize

2. Re: error

DerekParnell said...

Forked from Re: The Manual

Lone_EverGreen_Ranger said...

whenever I try to run a .exw file with euiw, it says "no euphoria code to execute" Why does it do this? Or this a bug or an error in the compiler of euphoria?

That message is only ever issued by the eub.exe program. This is the program that runs shrouded programs.

Are you sure you are running "euiw.exe"?

To use eub correctly, you need to do first shroud the application...

    shroud myapp.ex 
Once that is done, it creates a file called "myapp.il"; this is the shrouded application. To run this, use eub. For example ...
    eub myapp.il 


Note:
The euiw.exe program is identical to eui.exe except that if the application writes anything to a console, it creates a new console window rather than using the existing window.

OK I ran it with euiw, and it says cannot open window.exw, I also tried it with eui and still got the same thing. What is going on?

new topic     » goto parent     » topic index » view message » categorize

3. Re: error

Lone_EverGreen_Ranger said...

OK I ran it with euiw, and it says cannot open window.exw, I also tried it with eui and still got the same thing. What is going on?

That means that "window.exw" doesn't exist in the directories that eui is searching through.

I'm guessing your current directory is the 'demo' one and you're entering ...
eui window.exw

Try this instead ...
eui win32/window.exw

new topic     » goto parent     » topic index » view message » categorize

4. Re: error

DerekParnell said...

To use eub correctly, you need to do first shroud the application...

    shroud myapp.ex 
Once that is done, it creates a file called "myapp.il"; this is the shrouded application. To run this, use eub. For example ...
    eub myapp.il 

irv@irv-laptop ~/demos $ ls -la test14.il 
-rwxrwxrwx 1 irv irv 245959 2009-08-17 08:43 test14.il 
 
irv@irv-laptop ~/demos $ /home/irv/euphoria/bin/eub test14.il 
Couldn't open test14.il 
 
Press Enter 
I get this same message no matter what *.il file I try.

new topic     » goto parent     » topic index » view message » categorize

5. Re: error

grummox said...

irv@irv-laptop ~/demos $ ls -la test14.il 
-rwxrwxrwx 1 irv irv 245959 2009-08-17 08:43 test14.il 
 
irv@irv-laptop ~/demos $ /home/irv/euphoria/bin/eub test14.il 
Couldn't open test14.il 
 
Press Enter 
I get this same message no matter what *.il file I try.

Thanks. This bug has been fixed and will be available in the next beta release in about a week's time.

new topic     » goto parent     » topic index » view message » categorize

6. Re: error

I tried it with win32/window.exe, and I still got cannot open window.exw

new topic     » goto parent     » topic index » view message » categorize

7. Re: error

Lone_EverGreen_Ranger said...

I tried it with win32/window.exe, and I still got cannot open window.exw

I assume you meant to type "window.EXW" and not "window.EXE".

Are you starting this from a console or are you double-clicking a file?

  • If from a console, what is the directory you are starting in?
  • If from double-clicking, what is the name and path of the file you are clicking on?
new topic     » goto parent     » topic index » view message » categorize

8. Re: error

From a console I am in

c:\euphoria_40b1

and if I double click the file, I get the same error

new topic     » goto parent     » topic index » view message » categorize

9. Re: error

Lone_EverGreen_Ranger said...

From a console I am in

c:\euphoria_40b1

Are you expecting that Euphoria will search your disk system to find the specific file called "window.exw" and then run it?

I've already told you that this file exists in the \demo\win32\ path.

Ok, so your in "c:\euphoria_40b1", well in that case, and assuming that you installed v4 normally, you will need to tell Euphoria where the program is. Try this ...

eui demo\win32\window.exw 

Lone_EverGreen_Ranger said...

and if I double click the file, I get the same error

Huh? If you double-click the file called "window.exw" which is in the path "c:\euphoria_40b1\demo\win32" you get the message that it can't open "window.exw"? Is that what you are saying???

new topic     » goto parent     » topic index » view message » categorize

10. Re: error

Thanks, it works.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu