Author Topic: VisualAge C++ 3.6.5 (+ Fix2) - WarpIn or RPM?  (Read 13511 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: VisualAge C++ 3.6.5 (+ Fix2) - WarpIn or RPM?
« Reply #30 on: November 05, 2024, 11:01:34 pm »
Hello SoundChaser

I think you are in the right track.

Arca Noae published this page and I think it will be good to read it first and find anything that may be missing to complement it.
- https://www.arcanoae.com/wiki/information-for-developers/

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5255
  • Karma: +44/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: VisualAge C++ 3.6.5 (+ Fix2) - WarpIn or RPM?
« Reply #31 on: November 06, 2024, 12:30:45 am »
Hello

Returning to the subject of a "VisualAge C++ 3.6.5 (+ Fix2)  WarpIn Installer". I think I have it in someway working, sadly I'm not a developer to completely test it out.  I preferred a Dave Yeo suggestion of having a WarpIn installer that does not modify the config.sys and only give you the "Command line" icon (REXX script) with the icc working.

Now I have a little thing here with the icons. I use "Dynamic Icons" so, the .ICO files I'm assigning are not showing. Is there any way to also assign a PNG icon with the WarpIn Installer script?
I refer to this:
Quote
CREATEOBJECT="REPLACE WPProgram|Message Queue Analysis Tool|<WP_IBMC>|EXENAME=cmd.exe;ICONFILE=$(1)\bin\MQWA.ICO;PARAMETERS=/k $(1)\bin\setenv.cmd MQWA.EXE;STARTUPDIR=$(1)\WORKING;OBJECTID=<IBMCMessage>;""
;ICONFILE=$ only assigns the .ICO file, is there a way to asing the PNG file?


Regards
« Last Edit: November 06, 2024, 12:32:45 am by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Alfredo Fernández Díaz

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +4/-0
    • View Profile
Re: VisualAge C++ 3.6.5 (+ Fix2) - WarpIn or RPM?
« Reply #32 on: February 27, 2025, 10:13:06 pm »
is there a way to assign the PNG file?

According to Dynamic Icons help, the only direct method is interactive (good ol' drag'n'drop, with the Icon type radio button set to "PNG"), not programmatic (e.g. via setup strings). Time for an RFE? ; )

Indirectly, you need to add your icon file to %BIGICONSPATH%, find "bigicons.txt" there and add a line like
"<MyObectID>"  "MyBigIcon.png" to it under the [OBJECTID] section.