XbpPrinter dialog

This forum is for general support of Xbase++
Post Reply
Message
Author
hm@mpsg.net
Posts: 8
Joined: Mon Feb 08, 2010 11:13 am

XbpPrinter dialog

#1 Post 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?

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: XbpPrinter dialog

#2 Post 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 ?
The eXpress train is coming - and it has more cars.

hm@mpsg.net
Posts: 8
Joined: Mon Feb 08, 2010 11:13 am

Re: XbpPrinter dialog

#3 Post 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)

User avatar
rdonnay
Site Admin
Posts: 4722
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: XbpPrinter dialog

#4 Post 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?
The eXpress train is coming - and it has more cars.

Post Reply