> windres has a different syntax from rc, see attached file which I can compile 
> with
> 
> (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)windres -r -DOS2 
> ..\..\..\hbrun.rc

Can you try two things with included .rc file:
1. Does it work with standard windres command-line?
    windres -O [omf|coff] -o hbrun.res hbrun.rc
2. Does this .rc format work with watcom?

--- hbrun.rc
#if defined( OS2 ) || defined( __OS2__ ) || defined( OS_2 )
#if defined( __GNUC__ )
/* os2/gcc */
1 ICON DISCARDABLE "..\\..\\..\\..\\..\\package\\harbour.ico"
#else
/* os2/watom */
ICON 1 DISCARDABLE "..\\..\\..\\..\\..\\package\\harbour.ico"
#endif
#elif defined( __BORLANDC__ )
/* win/bcc */
ICON1 ICON DISCARDABLE "..\..\..\..\..\package\harbour.ico"
#else
/* win */
ICON1 ICON DISCARDABLE "..\\..\\..\\..\\..\\package\\harbour.ico"
#endif
---

[ Quite nicely standardized format. not. ]

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to