1. Exe Problem
My brother and I are developing a small Euphoria app.
It consists of 5 programs and 2 .dat files. We both have the latest release
of Euphoria. We both have new machines running Windows Vista. We use Euman's
Tsunami file handler. We use bindw to convert the .exw files to .exe
The problem:
The exe files all run fine in the Euphoria directory, but when we copy them
to another directory only one program will run ( the only one without file
handling). All you get when you run an EXE program that has
INCLUDE TRM.EU_EW is a quick flash. No error message.
I wrote a very short test program that has the INCLUDE TRM_EU.EW in it, but
no calls to the file handling routines. If I run the EXE in a directory
other than \euphoria all I get is a quick flash of something on the screen.
If I REM out the INCLUDE TRM_EU.EW line and bindw it again, then the program
works properly.
I thought Vista might be the problem, so I copied the files to my laptop
running Windows 98. No good. Same thing happens. My brother tried it on his
laptop running Window XP. Still no good.
What could be causing this?. We are dead in the water.
2. Re: Exe Problem
- Posted by Greg Haberek <ghaberek at ?mail?com>
Dec 28, 2007
-
Last edited Dec 29, 2007
Don Austin wrote:
>
> My brother and I are developing a small Euphoria app.
> It consists of 5 programs and 2 .dat files. We both have the latest release
>
> of Euphoria. We both have new machines running Windows Vista. We use Euman's
>
> Tsunami file handler. We use bindw to convert the .exw files to .exe
Tsunami Record Manager is not Euman's program, just a wrapper for a library.
> The problem:
> The exe files all run fine in the Euphoria directory, but when we copy them
>
> to another directory only one program will run ( the only one without file
> handling). All you get when you run an EXE program that has
> INCLUDE TRM.EU_EW is a quick flash. No error message.
>
> (snip)
The issue here is (most likely) that the Interpreter is looking to open the
Tsunami DLL file from the local directory. You need to move that file with your
executable, or place it somewhere in your path like %EUDIR%\BIN.
NOTE: Binding only binds your *source code* with the Interpreter. Any other
external files used (like DLLs) are still external to your executable.
Hope this helps,
-Greg
3. Re: Exe Problem
- Posted by Don Austin <GatorKillerDon at comcast.??t>
Dec 28, 2007
-
Last edited Dec 29, 2007
Thank you very much. I copied trm.dll to the directory where the apps are, and
they all run fine. Thanks again