Jump to content

Recommended Posts

Posted

I have finally upgraded to the newest version of Autoit and encountered several problems with printwinapi. The first were easy where You just needed to comment out the duplicated functions. However I get

Variable used without being declared.:

$PixelsPerInchY = _WinAPI_GetDeviceCaps($hPrintDc, $__WINAPCONSTANT_LOGPIXELSY)

$PixelsPerInchY = _WinAPI_GetDeviceCaps($hPrintDc, ^ ERROR

When I run my program now. What was the constant and where do I put them. I also assume that the $__WINAPCONSTANT_LOGPIXELSX will need to be declared as well.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...