<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY id=MailContainerBody 
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" 
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Arial size=2>I run the example for 
C#:<BR>..\FWTools2.0.4\csharp\apps\GDALOverviews.cs</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The method Dataset.BuildOverviews(string 
resampling, int[] overviewlist)<BR>make exception: "Attempt to dereference null 
GDALProgressFunc".<BR>In the FWTools 2.0.0. this method run 
perfect.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The other methods is<BR>BuildOverviews(string 
resampling,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
int 
overviewlist,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
System.IntPtr 
pOverviews,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
OSGeo.GDAL.SWIGTYPE_p_GDALProgressFunc 
callback,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
OSGeo.GDAL.SWIGTYPE_p_void callback_data)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>How use this 
argument:<BR>OSGeo.GDAL.SWIGTYPE_p_GDALProgressFunc - pointer to function in 
C/C++<BR>OSGeo.GDAL.SWIGTYPE_p_void&nbsp; - pointer to data void in 
C/C++</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>Luiz<BR></FONT></DIV></BODY></HTML>