Thanks Jackie for your insight. You were right, It was enough to store MgMap instance as a member of class and it worked.
-- View this message in context: http://osgeo-org.1560.x6.nabble.com/mgnullreferenceexception-after-MgLayer-GetClassDefinition-tp5155410p5155424.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
