Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with GDI+ and Listenertype -1
Message
De
17/08/2010 08:37:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Problem with GDI+ and Listenertype -1
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01476778
Message ID:
01476778
Vues:
199
Hi all,

I was a bit out of touch so I didn't know if this a known problem. I found nothing with the common search machines.

I have a strange problem with reportoutput

Scenario

I have a report with a textfield this field is used via listner to draw an image. I use this for years without any problem

A huge cursor creating several thousand pages (I would not run this, but how to prevent customer runing it?)

the report run as expected

now I add a second field with _PAGETOTAL

report fails after several hundred pages with some error in the listener.
The error raises because GdipSaveGraphics off gdiplus.dll returns some failure. (at least: not ok)

This lead to an error of a badly handled value in the original listener,
check gaGDIP_State in fxListener::Listener.vcx. It is set with some state from the SAVE of gpgraphics::_gdiplus.vcx
Save sets the value to a value or .F. (It does not change) but the listener checks for .NULL. or a numerical.


GdipSaveGraphics seems not to be documented.

I've tried to go around the _PAGETOTAL using two distinct runs of the report.
If I run the page calculating report with listenertype = -1 it fails like the automatic twopass.

This is a new behaviour on this computer. It seems to happen after I've run all the MS fixes / updates of previous week. I have only a W2K machine here to cross check. It's a bit outdated. But it's without the last fixes by MS and it runs without any problem.

I've tested two versions of gdiplus.dll but without a principle change (the newer one seems to last longer)

Any ideas or suggestions are appreciated.

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform