T
thomas
Hi folk!
I am using an api function (from www.lebans.com) to show images in an
access form and on one PC apiGetDeviceCaps(hDCref, HORZSIZE) returns 0
which result in a divide by 0 later on.
The same application works on 20 other PC's. In this special case there
is a beamer and a monitor connected to the pc but I have also other
machines running with 2 monitors which work correct.
Could it be a bug of the ATI driver (newest installed) cause the other
machines running dual configurations have nvidia quadro cards.
' Let's grab the current size and resolution of our Screen DC.
sngHORZRES = apiGetDeviceCaps(hDCref, HORZRES)
sngVERTRES = apiGetDeviceCaps(hDCref, VERTRES)
sngHORZSIZE = apiGetDeviceCaps(hDCref, HORZSIZE)
sngVERTSIZE = apiGetDeviceCaps(hDCref, VERTSIZE)
Thanks for any Help
Thomas
I am using an api function (from www.lebans.com) to show images in an
access form and on one PC apiGetDeviceCaps(hDCref, HORZSIZE) returns 0
which result in a divide by 0 later on.
The same application works on 20 other PC's. In this special case there
is a beamer and a monitor connected to the pc but I have also other
machines running with 2 monitors which work correct.
Could it be a bug of the ATI driver (newest installed) cause the other
machines running dual configurations have nvidia quadro cards.
' Let's grab the current size and resolution of our Screen DC.
sngHORZRES = apiGetDeviceCaps(hDCref, HORZRES)
sngVERTRES = apiGetDeviceCaps(hDCref, VERTRES)
sngHORZSIZE = apiGetDeviceCaps(hDCref, HORZSIZE)
sngVERTSIZE = apiGetDeviceCaps(hDCref, VERTSIZE)
Thanks for any Help
Thomas