<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.5512" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>thank you for your 
reply,</FONT></DIV>
<DIV><FONT color=#000080>now I am confused that besides&nbsp;write makefile with 
plugin support&nbsp;in dirver dir, are there other changes? and are there any 
changes in our partner's dirver source? IN my opinion, </FONT><FONT 
color=#000000>gdal_FOO.dll&nbsp; is just the interface between FOO.DLL and 
gdal16.dll, and our partner need provid their dirver as xxx.dll?</FONT></DIV>
<DIV><FONT color=#000080></FONT>&nbsp;</DIV>
<DIV><FONT color=#000080>Best</FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-12-03 </FONT></DIV><FONT 
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>gispowerfan</SPAN> 
</FONT></DIV>
<HR color=#b5c4df SIZE=1>

<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Even Rouault </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2009-11-23&nbsp; 02:17:27 
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> gispowerfan </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> gdal-dev </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [gdal-dev] driver 
question? </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>The&nbsp;best&nbsp;solution&nbsp;would&nbsp;be&nbsp;that&nbsp;your&nbsp;partner&nbsp;delivers&nbsp;to&nbsp;you&nbsp;its&nbsp;driver&nbsp;</DIV>
<DIV>A&nbsp;compiled&nbsp;as&nbsp;a&nbsp;separate&nbsp;GDAL&nbsp;plugin&nbsp;(for&nbsp;example,&nbsp;if&nbsp;the&nbsp;driver&nbsp;</DIV>
<DIV>shortname&nbsp;is&nbsp;FOO&nbsp;:&nbsp;gdal_FOO.dll&nbsp;with&nbsp;an&nbsp;entry&nbsp;point&nbsp;GDALRegister_FOO()).&nbsp;</DIV>
<DIV>You&nbsp;then&nbsp;just&nbsp;have&nbsp;to&nbsp;define&nbsp;GDAL_DRIVER_PATH&nbsp;to&nbsp;point&nbsp;to&nbsp;the&nbsp;directory&nbsp;</DIV>
<DIV>where&nbsp;gdal_FOO.dll&nbsp;is.&nbsp;Be&nbsp;careful&nbsp;:&nbsp;you&nbsp;and&nbsp;your&nbsp;partner&nbsp;must&nbsp;use&nbsp;use&nbsp;</DIV>
<DIV>the&nbsp;same&nbsp;major&nbsp;GDAL&nbsp;version&nbsp;(identical&nbsp;X&nbsp;if&nbsp;GDAL&nbsp;version&nbsp;is&nbsp;1.X.Y)&nbsp;&nbsp;to&nbsp;</DIV>
<DIV>compile&nbsp;&amp;&nbsp;run&nbsp;against,&nbsp;otherwise&nbsp;there&nbsp;is&nbsp;a&nbsp;risk&nbsp;of&nbsp;C++&nbsp;ABI&nbsp;</DIV>
<DIV>incompatibility.&nbsp;As&nbsp;far&nbsp;as&nbsp;your&nbsp;driver&nbsp;B&nbsp;is&nbsp;concerned,&nbsp;compiling&nbsp;it&nbsp;as&nbsp;a&nbsp;</DIV>
<DIV>plugin&nbsp;or&nbsp;fully&nbsp;integrated&nbsp;in&nbsp;your&nbsp;GDAL&nbsp;source&nbsp;tree&nbsp;is&nbsp;just&nbsp;a&nbsp;matter&nbsp;of&nbsp;</DIV>
<DIV>conveniency.</DIV>
<DIV></DIV>
<DIV>See&nbsp;http://trac.osgeo.org/gdal/browser/trunk/gdal/frmts/hdf5/makefile.vc&nbsp;</DIV>
<DIV>for&nbsp;an&nbsp;example&nbsp;of&nbsp;a&nbsp;makefile&nbsp;with&nbsp;a&nbsp;plugin&nbsp;target.</DIV>
<DIV></DIV>
<DIV>gispowerfan&nbsp;a&nbsp;écrit&nbsp;:</DIV>
<DIV>&gt;&nbsp;Hi</DIV>
<DIV>&gt;&nbsp;&nbsp;</DIV>
<DIV>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I&nbsp;want&nbsp;to&nbsp;ask&nbsp;a&nbsp;question&nbsp;about&nbsp;how&nbsp;to&nbsp;implement&nbsp;the&nbsp;driver&nbsp;</DIV>
<DIV>&gt;&nbsp;for&nbsp;gdal.&nbsp;Because&nbsp;the&nbsp;partner&nbsp;don't&nbsp;provide&nbsp;their&nbsp;driver&nbsp;source(driver&nbsp;</DIV>
<DIV>&gt;&nbsp;A)&nbsp;for&nbsp;gdal,&nbsp;but&nbsp;we&nbsp;need&nbsp;it&nbsp;and&nbsp;we&nbsp;have&nbsp;our&nbsp;own&nbsp;drivers(driver&nbsp;b)&nbsp;for&nbsp;</DIV>
<DIV>&gt;&nbsp;gdal.&nbsp;So&nbsp;the&nbsp;easy&nbsp;way&nbsp;is&nbsp;that&nbsp;we&nbsp;provide&nbsp;the&nbsp;source&nbsp;contain&nbsp;driver&nbsp;B&nbsp;</DIV>
<DIV>&gt;&nbsp;to&nbsp;our&nbsp;partner,&nbsp;and&nbsp;out&nbsp;partner&nbsp;add&nbsp;their&nbsp;source,&nbsp;then&nbsp;compile&nbsp;it,&nbsp;</DIV>
<DIV>&gt;&nbsp;give&nbsp;us&nbsp;the&nbsp;final&nbsp;dll.&nbsp;Now&nbsp;the&nbsp;question&nbsp;is&nbsp;that&nbsp;we&nbsp;need&nbsp;upate&nbsp;our&nbsp;</DIV>
<DIV>&gt;&nbsp;source&nbsp;frequently,&nbsp;are&nbsp;there&nbsp;other&nbsp;method?&nbsp;is&nbsp;if&nbsp;feasible&nbsp;that&nbsp;our&nbsp;</DIV>
<DIV>&gt;&nbsp;partner&nbsp;change&nbsp;their&nbsp;souce&nbsp;code&nbsp;and&nbsp;put&nbsp;the&nbsp;implement&nbsp;code&nbsp;into&nbsp;*.lib&nbsp;</DIV>
<DIV>&gt;&nbsp;and&nbsp;*.dll,&nbsp;just&nbsp;interface&nbsp;of&nbsp;driver&nbsp;A&nbsp;in&nbsp;frmts&nbsp;driver&nbsp;source?</DIV>
<DIV>&gt;&nbsp;&nbsp;</DIV>
<DIV>&gt;&nbsp;Best&nbsp;regards</DIV>
<DIV>&gt;&nbsp;&nbsp;</DIV>
<DIV>&gt;&nbsp;2009-11-23</DIV>
<DIV>&gt;&nbsp;------------------------------------------------------------------------</DIV>
<DIV>&gt;&nbsp;gispowerfan</DIV>
<DIV>&gt;&nbsp;------------------------------------------------------------------------</DIV>
<DIV>&gt;</DIV>
<DIV>&gt;&nbsp;_______________________________________________</DIV>
<DIV>&gt;&nbsp;gdal-dev&nbsp;mailing&nbsp;list</DIV>
<DIV>&gt;&nbsp;gdal-dev@lists.osgeo.org</DIV>
<DIV>&gt;&nbsp;http://lists.osgeo.org/mailman/listinfo/gdal-dev</DIV>
<DIV></DIV>
<DIV></DIV></FONT></DIV></BODY></HTML>