Seems 'DrawText' is looking for a type of variable that doesn't exist. I have spent the last four hours reading through help files trying to figure this out and I can only conclude that one of my header files may be messed up.
HDC pDC = BeginPaint(cbWnd, &ps);
DrawText(pDC, buffer, strlen(buffer), paintrect, DT_EDITCONTROL | DT_NOPREFIX);
Now when I compile, I get this error message:
"Cannot convert tagRECT to tagRECT *"
There is no such variable/structure listed in ANY of my help files, so I am lost if there is such a thing. How can I get around or solve this problem? I need to use 'DrawText' in both printing operations and window operations, but until I can create or find this variable/structure type, I have to stop all work on my project. Thanks for any help I get in advance.