[mapguide-users] RE: PHP -> .NET Active Selection

Berdel, Brian brian.berdel at mcmtrans.com
Wed Apr 26 08:36:02 EDT 2006

I have not been able to get it to work with the DWF viewer either.  I
would appreciate some help here as well. 

-----Original Message-----
From: kalpesh [mailto:kalpesh at pie-solution.com] 
Sent: Wednesday, April 26, 2006 5:54 AM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] RE: PHP -> .NET Active Selection

Any progress to this one. I tried exactly what you specified in your
post using .NET. The problem is after the XML is passed to the other
and then when we try and do

MgMap map = new MgMap();
map.Open(resourceService, "wise");
MgSelection selection = new MgSelection(map);

if (selText != null && selText.Length > 0)
    selection.FromXml(selText); //It fails here

It now tells me "Attempted to read or write protected memory. This is
an indication that other memory is corrupt."

The selText is the XML that is submitted by
window.opener.mapFrame.GetSelectionXML() from some other page.

View this message in context:
Sent from the OSGeo MapGuide forum at Nabble.com.

To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org

More information about the Mapguide-users mailing list