@Thomas
On OS3.9 you have to include clib/alib_protos.h for the DoMethod prototype.
This file has been included (was included all the way).
Changed the offending line.
FROM:
if (Win = (struct Window *)DoMethod(WinObj, WM_OPEN, NULL))
TO:
if ((ULONG)Win = DoMethod(WinObj, WM_OPEN, NULL))
The WARNING has now gone, but I do have a feeling that it is not a correct way of doing things. Am I wrong in this respect?
EDIT:
The program compiles and links well. It executes fine, so I assume it is correct now!
Thanks, for all your remarks, wisdom and knowledge. I'm very satisfied.
To me, this topic is closed.
Jettah