Re: Win32Lib stretchBlt() Lockup
- Posted by Andy Drummond <andy at kestre?tele.c?m> Oct 04, 2007
- 551 views
Matt Lewis wrote: > > Bernie Ryan wrote: > > > > Here are somethings to try: > > > > Did you try a different PDF doc. maybe PDF is corrupted. I can write anything, no bothers. And I can write my signature to ordinary printers. When my program locked, I went through and knocked out different bits till I found that it entered stretchBlt and never came back. So lots of trials, lots of other use - I use Adobe 8 for all sorts of things. > > > > You could be running out of memory. > > Hope not. Euphoria uses virtual memory as required, and I have a gig anyway. > > The free openoffice program exports PDF docs so you could create a page > > with open office with your signiture on it or use an older version of > > Adobe and then simply insert that PDF page in the newer version when > > you want to sign it. > I don't think that is a viable route, to be honest. > Or perhaps do some sort of double buffering before writing to the print > DC. stretchBlt() to a 'staging' DC, and them do a normal blit to the > print DC. > > Matt That is a good idea. I can stretchBlt to a pixmap and then blit it... yeah, I will give it a go. thanks, gents.