1. RE: More Printing woes
- Posted by Jonas Temple <jtemple at yhti.net> Apr 03, 2003
- 323 views
Greg, This fix was supplied a while back that might help: In the routine getPrintChoice() comment out the line: store( mem, PRINTDLG_nMinPage, 1 ) and then later in this routine, comment out: store( mem, PRINTDLG_nMaxPage, pMaxPages ) and replace with store(mem,PRINTDLG_nCopies,1) I don't know if these changes are in the win32lib you downloaded. HTH, Jonas Greg Haberek wrote: > Ok... after determining HOW to print, WHERE to print, and WHAT to print, > now I can't Print! > grrr... woe is me. I downloaded the newest Win32Lib (0.58.03) per > suggestion of Derek, since > getPageSetup() crashed. but what's worse is now it does nothing! neither > does getPrinter()! Why? > >
2. RE: More Printing woes
- Posted by Brian Broker <bkb at cnw.com> Apr 03, 2003
- 340 views
Derek, This is how it looks now: function myAllocate(integer pSize) atom lAddr atom lPreSize integer lMemSize lAddr = allocate(pSize) mem_set(lAddr, pSize, 0) return lAddr -- old junk snipped -- end function You are saying it could/should look like this? function myAllocate(integer pSize) atom lAddr lAddr = allocate(pSize) mem_set(lAddr, 0, pSize) return lAddr end function -- Brian Derek Parnell wrote: > Greg, > I've made a mistake in the include file "tk_mem.e". > > In the routine "myAllocate", find the line ... > > mem_set( lAddr, lMemSize, 0) > > and change it to ... > > mem_set( lAddr, 0, lMemSize) > > This error was caused by me not remembering the correct order of > parameters > and not checking the manual either. I changed this routine recently to > get > around a shortcoming in Euphoria 2.4 that deals with Windows memory > allocation. > > Sorry for the inconvenience. > > ---------------- > cheers, > Derek Parnell > > ----- Original Message ----- > From: "Greg Haberek" <g.haberek at comcast.net> > To: "EUforum" <EUforum at topica.com> > Sent: Friday, April 04, 2003 7:08 AM > Subject: More Printing woes > > > > Ok... after determining HOW to print, WHERE to print, and WHAT to print, > now I can't Print! > > grrr... woe is me. I downloaded the newest Win32Lib (0.58.03) per > suggestion of Derek, since > > getPageSetup() crashed. but what's worse is now it does nothing! neither > does getPrinter()! Why? > > > > > > TOPICA - Start your own email discussion group. FREE! > > >