Walter Meester
HoogkarspelPays-Bas
Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
EVENTHANDLER fails, VFPCOM Succeeds ?
Hi all,
When I moved from Crystal reports 8.5 to 10.0 I used the EVENTHANDLER() to map the format event to be able to change pictures at runtime. Though this work perfectly for 8.5 the eventhandler function fails for CR 10.0
Trying to do the same with the VFPCOM utility from KenL it succeeds. I'm really stumped here.
I suspected it to be in the IMPLEMENTS CLAUSE but all I changed was
IMPLEMENTS ISectionEvent IN "CrystalRuntime.Application.8.5"
into
IMPLEMENTS ISectionEvent IN "CrystalRuntime.Application.10.0"
I'm using VFP8. When I use Cr 8.5 everything works find, but in Cr 10.0 the EVENTHANDLER function fails. The object model of the section event does not seem to be changed, so it cannot be that.
The sad thing is that the EVENTHANDLER() functions does not return a descriptive error why it has failed.
Any clues, suggestions ?
Walter,
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement