Re: translatort
- Posted by Brian Clark <bkc02 at hea?t?.state.ny.us> Aug 14, 2007
- 581 views
jacques deschĂȘnes wrote: > > > 1)When I translate an application to C, the euphoria.ico is not binded with > the executable. > 2)ecw.exe -? don't print any usage information!! > > regards, > Jacques DeschĂȘnes Jacques, Here are the steps I use to create and bind an icon with the executable: Program Name: main.ecw Icon File Name: main.ico 1. Create resource file, main.rc -- one line file, contents: main ICON "main.ico" 2. Compile resource file using rc rc main.rc creates main.res ********************************************************* 3. Translate program ecw main.exw ********************************************************* 4. Add resource to make file(emake.bat) linker wlink FILE main.obj @objfiles.lnk RESOURCE main.res 5. Run emake.bat