Using Watcom C/C++ 11.0 with PowerBuilder C++ Class Builder

This is incomplete.

I needed to create a Class Builder User object that used Windows features that were only supported in Watcom C/C++ 11.0.

I had already installed Watcom C/C++ 11.0 in i:\w11 and installed Class Builder afterwards in h:\pwrs\watcnt. I'm using Windows NT 4.0.

  1. Go into Control Panel, start System and then Environment.
  2. Remove the h:\pwrs\watcnt\binw and h:\pwrs\watcnt\binnt directories from the Path environment variable
  3. Change the WATCOM environment variable to point to i:\w11 (but see note)
  4. You may also want to fix the include environment variable to point back at $(WATCOM)\h;$(WATCOM)\h\nt
  5. Close the System dialog and Control Panel.
  6. Start the Registry Editor. I used regedt32.exe, but regedit should work just as well.
  7. Browse to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths
  8. Remove the keys for WPP386.EXE, WMAKE.EXE, WLINK.EXE and WRE.EXE.


Note 1: My system has been modified a bit, I had my WATCOM environment variable in the system variables list from debugging a service. Just make sure that the WATCOM variable points to your Watcom 11.0 directory.

Note 2: Be careful. You can damage your system to the point where it won't restart through indiscriminate use of the Registry Editor