Re: translatort

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu