ActiveX & xHarbour
Posted: Wed Apr 26, 2006 3:19 pm
Antonio,
I received your email with the updated libs. When I try to set the the event block I get an error on:
oMapPoint:bOnEvent = { | event, aParams | cEvents += EventInfo( event, aParams ) }
This line generates the error:
Error MapPoint.Control/16389 E_FAIL: _BONEVENT
I also tried replacing the ActiveX lib with the one you posted here for someone else recently. When I use this lib I get an error "yourapp.exe has encountered a problem and needs to close".
If I comment out the bOnEvent code the control works ok, at least the map is opened in a window.
Using FWH March 2006 and xBuilder 2006 w/xcc.
The other problem I reported seemed to be a problem with the MapPoint 2004 install, I was using the MSDN version. I uninstalled that version and installed MapPoint 2002 and this seems to be working.
Is there anyone else using MapPoint with ActiveX?
If your interested I could email you the mappoint setup and run discs.
Thanks,
Randal Ferguson
I received your email with the updated libs. When I try to set the the event block I get an error on:
oMapPoint:bOnEvent = { | event, aParams | cEvents += EventInfo( event, aParams ) }
This line generates the error:
Error MapPoint.Control/16389 E_FAIL: _BONEVENT
I also tried replacing the ActiveX lib with the one you posted here for someone else recently. When I use this lib I get an error "yourapp.exe has encountered a problem and needs to close".
If I comment out the bOnEvent code the control works ok, at least the map is opened in a window.
Using FWH March 2006 and xBuilder 2006 w/xcc.
The other problem I reported seemed to be a problem with the MapPoint 2004 install, I was using the MSDN version. I uninstalled that version and installed MapPoint 2002 and this seems to be working.
Is there anyone else using MapPoint with ActiveX?
If your interested I could email you the mappoint setup and run discs.
Thanks,
Randal Ferguson