Manual Installation of HWMan Class: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
This is also a good example on how to install a WPS Class manually on OS/2 and eComStation.
This is also a good example on how to install a WPS Class manually on OS/2 and eComStation.
; Note: The manual installation of [[HWMan]] is not longer necessary since it came with a WPI installer to register the WPS class without problems. The procedure is just listed here for information purposes.


===Manual Installation===
===Manual Installation===
Use this instructions only if you don't want to use the WarpIN installer. This is the manual way to register a class on WPS.  
Use this instructions only if you don't want to use the WarpIn installer. This is the manual way to register a class on WPS.  


Instructions:  
Instructions:  
# copy the DLL (hwman.dll) to a convenient place
# Copy the DLL (hwman.dll) to a convenient place
# open XWorkplace "WPS class list" object[[Image:1 - hwman.png|thumb|2. Using the WPS Class List Utility]]
# Open XWorkplace "WPS class list" object
# Do right click in class tree and select "register new class", select the DLL (hwman.dll) and specify "WPHwManagerEx" as the class to register
# Do right click in class tree and select "Register new class", select the DLL (hwman.dll) and specify "WPHwManagerEx" as the class to register
# refresh the "WPS class list" view by hitting F5 or do a WPS restart until "WPHwManagerEx" shows up in the "WPS class list" class tree
[[Image:1 - hwman.png|400px|Select "Register New Class"]]
# open XWorkplace "WPS class list" object
# Refresh the "WPS class list" view by hitting F5 or do a WPS restart until "WPHwManagerEx" shows up in the "WPS class list" class tree
# right click on "WPHwManager" and select "replace by subclass" (or whatever it's called in English)
# Open XWorkplace "WPS class list" object
# in the dialog select "WPHwManagerEx" which is a subelement of "WPHwManager"
# Right click on "WPHwManager" and select "replace by subclass" (or whatever it's called in english)
# hit "OK
# In the dialog select "WPHwManagerEx" which is a subelement of "WPHwManager"
# restart WPS
# Hit "OK
# Restart WPS


If you attach and detach USB devices, you will need to hit F5 in the HWManager view to trigger an update of the view(s) (as always).
If you attach and detach USB devices, you will need to hit F5 in the HWManager view to trigger an update of the view(s) (as always).
I could implement a secondary thread to trigger the update on a regular basis but I didn't (save CPU for more important things).
I could implement a secondary thread to trigger the update on a regular basis but I didn't (save CPU for more important things).


[[Image:2 - hwman.png|thumb]]
===Manual Installation Screenshots===
[[Image:3 - hwman.png|thumb]]
The manual installation of this software is not longer necessary since it cames with a WPI installer that register the WPS class without problems.  The procedure is just listed here for information purposes.
[[Image:4 - hwman.png|thumb]]
 
[[Image:5 - hwman.png|thumb|6.]]
====Using WPS Class List Utility====
[[Image:6 - hwman.png|thumb|7.]]
 
[[Image:7 - hwman.png|thumb]]
 
[[Image:8 - hwman.png|thumb]]
 
[[Image:9 - hwman.png|thumb||Once hwman class is installed you can see that WPHwManagerEX overrides WPHwManager.]]
[[Image:2 - hwman.png]]
 
[[Image:3 - hwman.png]]
 
[[Image:4 - hwman.png]]
 
[[Image:5 - hwman.png|400px]]
 
[[Image:6 - hwman.png|400px]]
 
[[Image:7 - hwman.png]]
 
[[Image:8 - hwman.png|400px]]
 
Once hwman class is installed you can see that WPHwManagerEX overrides WPHwManager.
 
[[Image:9 - hwman.png|400px]]


[[Category:How_To]]
[[Category:How_To]]

Revision as of 17:01, 10 December 2018

This is also a good example on how to install a WPS Class manually on OS/2 and eComStation.

Manual Installation

Use this instructions only if you don't want to use the WarpIn installer. This is the manual way to register a class on WPS.

Instructions:

  1. Copy the DLL (hwman.dll) to a convenient place
  2. Open XWorkplace "WPS class list" object
  3. Do right click in class tree and select "Register new class", select the DLL (hwman.dll) and specify "WPHwManagerEx" as the class to register

Select "Register New Class"

  1. Refresh the "WPS class list" view by hitting F5 or do a WPS restart until "WPHwManagerEx" shows up in the "WPS class list" class tree
  2. Open XWorkplace "WPS class list" object
  3. Right click on "WPHwManager" and select "replace by subclass" (or whatever it's called in english)
  4. In the dialog select "WPHwManagerEx" which is a subelement of "WPHwManager"
  5. Hit "OK
  6. Restart WPS

If you attach and detach USB devices, you will need to hit F5 in the HWManager view to trigger an update of the view(s) (as always). I could implement a secondary thread to trigger the update on a regular basis but I didn't (save CPU for more important things).

Manual Installation Screenshots

The manual installation of this software is not longer necessary since it cames with a WPI installer that register the WPS class without problems. The procedure is just listed here for information purposes.

Using WPS Class List Utility

Once hwman class is installed you can see that WPHwManagerEX overrides WPHwManager.