Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. RE: Trying to print with a CWinThread...

RE: Trying to print with a CWinThread...

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
1 Posts 1 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chris Maunder
    wrote on last edited by
    #1

    Check out the printing section of this site - there are a couple of articles up now that should get you going in the right direction. ================== The original message was: Hi,

    I want to be able to print and do another things while I'm doing this ( my printing proccess is very slow), so I have made a thread that inherits from CWinThread, there I pass the handle of the printer Dc, then I convert it to a CDC and I begin to print, ... and then the program print and crashes... :-(

    With the screen painting I have used a CClientDc and it goes all right, but with the printer, I have no idea.. :-(

    Anybody can help me ?, Thanks, Bye !
    Braulio

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups