1. Compiling with Watcom under Windows -Icon?
- Posted by Ralf Bender <r.bender at datasec.de> Oct 12, 2004
- 463 views
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm a newbie in Euphoria, but after two Weeks I love it very much! My first Program runs well, only a little think nerves me a little: I translate the EXW File with ECW.EXE to a C Source and compile all Sources to MyProg.EXE. The Program running very well, but what about the Program Icon I added in the EXW File. There isn't any Icon. Only Windows Standard? What must I do to have my own Icon in the file? And maybe another question: Why are the compiled EXE file are so big. Over 1MB ...? I'll be aprreciate for any help Ralf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBbC3TrpPF3HrcEr4RArkaAKDb7005FsbMHngB56h8DBIORD4gNACcCC2Y egKr10FBTI/V0tcVF3kVo2c= =F7wa -----END PGP SIGNATURE-----
2. Re: Compiling with Watcom under Windows -Icon?
- Posted by Greg Haberek <ghaberek at gmail.com> Oct 12, 2004
- 429 views
- Last edited Oct 13, 2004
There are several demos in the Archive for adding Icons at compile time. Look for "resource binding" or something similar. As far as huge exe files, get a copy of UPX (Ultimate Packer for eXecutables) from http://upx.sourceforge.net. I put it in my EUPHORIA\BIN directory. Then you can call it from anywhere: > upx myprog.exe OR > upx mylibrary.dll HTH, ~Greg On Tue, 12 Oct 2004 21:17:45 +0200, Ralf Bender <r.bender at datasec.de> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > I'm a newbie in Euphoria, but after two Weeks I love it very much! > > My first Program runs well, only a little think nerves me a little: > I translate the EXW File with ECW.EXE to a C Source and compile all > Sources to MyProg.EXE. > The Program running very well, but what about the Program Icon I added > in the EXW File. There isn't any Icon. Only Windows Standard? > > What must I do to have my own Icon in the file? > And maybe another question: Why are the compiled EXE file are so big. > Over 1MB ...? > > I'll be aprreciate for any help > Ralf > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (MingW32) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFBbC3TrpPF3HrcEr4RArkaAKDb7005FsbMHngB56h8DBIORD4gNACcCC2Y > egKr10FBTI/V0tcVF3kVo2c= > =F7wa > -----END PGP SIGNATURE----- > > > >
3. Re: Compiling with Watcom under Windows -Icon?
- Posted by "Juergen Luethje" <j.lue at gmx.de> Oct 12, 2004
- 435 views
- Last edited Oct 13, 2004
Ralf Bender wrote: > Hello, > > I'm a newbie in Euphoria, but after two Weeks I love it very much! Hallo, zunaechst einmal: Willkommen! (First of all: Welcome!) > My first Program runs well, only a little think nerves me a little: > I translate the EXW File with ECW.EXE to a C Source and compile all > Sources to MyProg.EXE. > The Program running very well, but what about the Program Icon I added > in the EXW File. There isn't any Icon. Only Windows Standard? > > What must I do to have my own Icon in the file? Please look here: http://www.king.igs.net/~wolfritz/rc-demo.zip > And maybe another question: Why are the compiled EXE file are so big. > Over 1MB ...? I believe it's because the C source code is generated automatically by a program, not by hand. Please note that in a few weeks Euphoria 2.5 will be available. Maybe then translated programs will be smaller? > I'll be aprreciate for any help > Ralf Regards, Juergen
4. Re: Compiling with Watcom under Windows -Icon?
- Posted by irv mullins <irvm at ellijay.com> Oct 12, 2004
- 423 views
- Last edited Oct 13, 2004
Ralf Bender wrote: > > And maybe another question: Why are the compiled EXE file are so big. > Over 1MB ...? Hello Ralf. You should consider whether you even need to compile your program, I have never yet had anyone complain about the speed of (bound) translated programs. Regards, Irv
5. Re: Compiling with Watcom under Windows -Icon?
- Posted by Guillermo Bonvehi <knixeur at speedy.com.ar> Oct 13, 2004
- 426 views
If you want a smaller executable you can try compressing them with UPX (RDS's interpreter is compressed with this program), I have used myself in the past and it worked great compressing from 1mb to about 400kb. The url of this program is: http://upx.sourceforge.net/ On Tue, 12 Oct 2004 21:17:45 +0200 Ralf Bender <r.bender at datasec.de> wrote: > Hello, > > I'm a newbie in Euphoria, but after two Weeks I love it very much! > > My first Program runs well, only a little think nerves me a little: > I translate the EXW File with ECW.EXE to a C Source and compile all > Sources to MyProg.EXE. > The Program running very well, but what about the Program Icon I added > in the EXW File. There isn't any Icon. Only Windows Standard? > > What must I do to have my own Icon in the file? > And maybe another question: Why are the compiled EXE file are so big. > Over 1MB ...? > > I'll be aprreciate for any help > Ralf
6. Re: Compiling with Watcom under Windows -Icon?
- Posted by Ralf Bender <r.bender at datasec.de> Oct 13, 2004
- 451 views
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 THANKS A LOT for the very interesting and good tips | |> From: Ralf Bender <r.bender at datasec.de> |> Reply-To: EUforum at topica.com |> To: EUforum at topica.com |> Subject: Compiling with Watcom under Windows -Icon? |> Date: Tue, 12 Oct 2004 21:17:45 +0200 |> |> Hello, |> |> I'm a newbie in Euphoria, but after two Weeks I love it very much! |> |> What must I do to have my own Icon in the file? |> And maybe another question: Why are the compiled EXE file are so big. |> Over 1MB ...? |> | | Are you using Win32lib? Some versions (between 0.60.0 and the present)= | | used some funky routine_id things to make the new programming interface | work. This meant that the translator would compile all the previous | functions into the program. If perhaps you change to the newest | (0.60.6), i= | t=20 | might help you out, though you might need to change your program a | little i= | f=20 | you are using that interface. | |> I'll be aprreciate for any help |> Ralf | | | s=20 | | first two months FREE*. | | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBbQbwrpPF3HrcEr4RAgj9AKDUx37TyYmApZLXmmi65IhWUbGRYgCfRpqL tle5K41yo6dugody3TWuan4= =+V1w -----END PGP SIGNATURE-----