View Single Post

  #1 (permalink)  
Old 05-24-2005
luisfdo luisfdo is offline
Junior Member
White Belt
 
Join Date: May 2005
Posts: 8
GetMap(spec) Exception..Pokect Application

I'm using the method findNearbySpec and I proved this method in a pocket application. I found many places but there is an error that i can quit.

SystemNullReferenceException //when I try to use GetMap

Code:
MapImage[] mapImgs;
mapImgs = render.GetMap(spec);
Bitmap bMap = new Bitmap(new System.IO.MemoryStream(mapImgs[0].MimeData.Bits));
pictureMapPoint.Image=bMap;
I prove the same code in a windowsApplication a and that wroks fine. I view the the map.

I prove the find method findAddressSpec and the GetMap in the pocket, I don't have any Exception, and I see the map

Does anyone one the problem??
Reply With Quote