Page 1 of 1

XbpPrinter dialog

Posted: Wed Feb 18, 2015 5:14 am
by hm@mpsg.net
One of my customers get this error: "Internal data structure corrupted"
when calling XbpPrinter():new():list()

It occurs on one client only, 7 others works fine.
The client is a win7 64-bit.Other windows application do show the printer dialog and prints fine.
I have tried to uninstall all printers and reinstall only one with the same result.

I am using xBase version 1.90.355 and Express 1.90.255

Any idea what’s wrong?

Re: XbpPrinter dialog

Posted: Wed Feb 18, 2015 9:25 am
by rdonnay
Have you downloaded all the latest fixes for Xbase++?

HR12 fixed an IDSC problem with XbpPrinter():printerStatus().
Maybe it fixes XbpPrinter():list() also.

What is the date of your XppUi1.Dll ?

Re: XbpPrinter dialog

Posted: Thu Feb 19, 2015 5:38 am
by hm@mpsg.net
I have not download HotFix for a long time. Don't know if it is possible for me to do so without subscription.
The date of XppU1.dll is 12/2-2010 (dd/mm-yyyy)

Re: XbpPrinter dialog

Posted: Thu Feb 19, 2015 8:08 am
by rdonnay
The date of your XPPUI1.DLL indicates that you are up to date, so that is not the problem.

There are 2 ways to use the :list() method.

This is a class method so it doesn't require an instance object to use it.

aList := XbpPrinter():list()

or

oPrinter := XbpPrinter():new()
aList := oPrinter:list()

Do you get the IDSC when using both techniques?