Walter Meester
HoogkarspelNetherlands
General information
Category:
COM/DCOM and OLE Automation
Title:
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,
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only