I have a complex program developed a couple of years ago which copies from graphics regions to the printer. At the time it worked fine under both Vista and XP.
The basic code below compiled under V5.5 (and run with v5.5 salflibc.dll) works fine on XP machines but blows up with a BSoD - Page fault in nonpaged area - on both a Vista machine and 2 Windows 7 32 bit machines.
I hope I have made some basic error and would be most grateful for any suggestions.
Bill
winapp
include <windows.ins>
call open_printer@(1)
call create_graphics_region@(2,100,100)
call draw_filled_rectangle@(10,10,80,80,2)
call copy_graphics_region@(1,50,50,100,100,2,0,0,100,100,SRCCOPY)
call select_graphics_object@(1)
call perform_graphics_update@
call close_printer@(1)
end