1. Print Preview Demo
- Posted by Tony Steward <tsteward at dodo.com.au> Sep 20, 2003
- 433 views
Hello Pete, Downloaded Demo Tutorial & runtime files but get the following error C:\tony\pp2\win32prt.ew:237 PRINTDLG_pDevMode has not been declared devmode = fetch(mem,PRINTDLG_pDevMode) ^ thanks Tony
2. Re: Print Preview Demo
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Sep 20, 2003
- 429 views
On Sat, 20 Sep 2003 06:16:43 +0000, Tony Steward <tsteward at dodo.com.au> wrote: > > >Hello Pete, >Downloaded Demo Tutorial & runtime files but get the following error > >C:\tony\pp2\win32prt.ew:237 >PRINTDLG_pDevMode has not been declared > devmode =3D fetch(mem,PRINTDLG_pDevMode) > ^ That's the second time I've forgotten about that. I get confused cos I know this has gone into 59.2beta: Edit win32lib as follows: -- Type PRINTDLG PRINTDLG_lStructSize =3D allot( DWord ), PRINTDLG_hwndOwner =3D allot( UInt ), PRINTDLG_hDevMode =3D allot( Hndl ), --PL PRINTDLG_pDevMode =3D allotted_handle(PRINTDLG_hDevMode), --PL PRINTDLG_hDevNames =3D allot( UInt ), I really am loathe to release a bespoke win32lib just for the two tiny mods though. Thanks for your patience Pete