Viktor, it seems the problem was in adding the win32 .ico to hbrun the cause of the problems reported yesterday. I'm not 100% sure, though, since I've done a thousands different tests.
Now, with attached hbrun.rc, harbos2.ico and this command, which, as you can see, I execute from within obj\os2\gcc of hbrun I can attach OS/2 .ico and it shows inside OS/2 gui and even when I start hbrun.exe, the title-bar icon gets changed to the correct one. (E:\REPOSITORY\HARBOUR\utils\hbrun\obj\os2\gcc)rc -DOS2 -p ..\..\..\hbrun.rc ..\..\..\..\..\bin\os2\gcc\hbrun.exe Operating System/2 Resource Compiler Version 4.00.011 Oct 10 2000 (C) Copyright IBM Corporation 1988-2000 (C) Copyright Microsoft Corp. 1985-2000 All rights reserved. Creating binary resource file ..\..\..\hbrun.RES RC: RCPP -E -D RC_INVOKED -D OS2 -W4 -f ..\..\..\hbrun.rc -ef D:\OS2\RCPP.ERR ..\..\..\hbrun.rc Writing resources to OS/2 v2.0 Linear .EXE file Writing 1 DEMAND resource object(s) Writing: 3428 bytes in 1 page(s) 1.1 (3428 bytes) Writing Extended Attributes: Default Icon Writing Extended Attributes: Checksum It creates a hbrun.res inside utils\hbrun, which should be deleted somehow and the gcc.mk should be changed to call rc with the above syntax, which I don't know how to do, since as it is now the .mk files add the .res file to the .exe, while rc can do this task, and most important, write the extended attribute of the file with a copy of the .ico, so that it shows inside the OS/2 gui. Let me know. Maurilio. -- __________ | | | |__| Maurilio Longo |_|_|_|____| farmaconsult s.r.l.
<<inline: harbos2.ico>>
/* * $Id: hbrun.rc 14258 2010-03-29 20:36:08Z vszakats $ */ #if defined( OS2 ) || defined( __OS2__ ) || defined( OS_2 ) ICON 1 DISCARDABLE "../../../../../package/harbos2.ico" #else ICON1 ICON DISCARDABLE "../../../../../package/harbour.ico" #endif
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour