Re: Print Preview Demo

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu