September 22nd, 1999, 11:54 AM
I have a problem getting a CDC pointer to work in Release mode.
When I am trying to get list of Customers to be printed on the printer nothing
happens because pDC->EndDoc() (pDC is a CDC*) always returns -1, (General error)
according to the C++ 6.0 manual. When I try the same thing in Debug Mode there is no problem getting the paper out on the printer!
It would be easier if I got a GPF or something when I tried it in Release Mode, but nothing happens the printer just stays foot !!
If someone has encountered this problem and have an idea of how to solve it, I would be very grateful.
When I am trying to get list of Customers to be printed on the printer nothing
happens because pDC->EndDoc() (pDC is a CDC*) always returns -1, (General error)
according to the C++ 6.0 manual. When I try the same thing in Debug Mode there is no problem getting the paper out on the printer!
It would be easier if I got a GPF or something when I tried it in Release Mode, but nothing happens the printer just stays foot !!
If someone has encountered this problem and have an idea of how to solve it, I would be very grateful.