主题:[原创]组件map3.5升级到mapx5.0(万分感谢您看帖!)
环境:windows server2000,oracle8.0,delphi6 (万分感谢您看帖!)
目标:把程序中组件map3.5升级到mapx5.0
问题:
[Error] main.pas(831): Not enough actual parameters
myf := lay.AddFeature(myf);
[Error] main.pas(850): Not enough actual parameters
myf := lay.AddFeature(myf);
[Warning] main.pas(927): Symbol 'faArchive' is specific to a platform
if FindFirst(MainPath + 'templay\*.*', faArchive, SearchRec) = 0 then
[Error] main.pas(1169): Not enough actual parameters
nodedata.feature.Update;
[Error] main.pas(1530): Not enough actual parameters
lay.Selection.SelectByPoint(x,y,0);
[Error] main.pas(2063): Not enough actual parameters
lay.selection.SelectByPoint(CenterX,CenterY,miselectionnew);
[Error] main.pas(2127): Not enough actual parameters
lay.selection.SelectByPoint(CenterX,CenterY,miselectionnew);
[Error] main.pas(2349): Not enough actual parameters
selectedfeature.Update;
[Error] main.pas(2436): Not enough actual parameters
mylay.AddFeature(myf);
[Error] main.pas(2659): Not enough actual parameters
lay.AddFeature(myf);
[Fatal Error] nmiss.dpr(21): Could not compile used unit 'SYSTEM\main.pas'
问:怎么对lay.AddFeature(myf),nodedata.feature.Update,lay.selection.SelectByPoint(CenterX,CenterY,miselectionnew)加相关参数?
目标:把程序中组件map3.5升级到mapx5.0
问题:
[Error] main.pas(831): Not enough actual parameters
myf := lay.AddFeature(myf);
[Error] main.pas(850): Not enough actual parameters
myf := lay.AddFeature(myf);
[Warning] main.pas(927): Symbol 'faArchive' is specific to a platform
if FindFirst(MainPath + 'templay\*.*', faArchive, SearchRec) = 0 then
[Error] main.pas(1169): Not enough actual parameters
nodedata.feature.Update;
[Error] main.pas(1530): Not enough actual parameters
lay.Selection.SelectByPoint(x,y,0);
[Error] main.pas(2063): Not enough actual parameters
lay.selection.SelectByPoint(CenterX,CenterY,miselectionnew);
[Error] main.pas(2127): Not enough actual parameters
lay.selection.SelectByPoint(CenterX,CenterY,miselectionnew);
[Error] main.pas(2349): Not enough actual parameters
selectedfeature.Update;
[Error] main.pas(2436): Not enough actual parameters
mylay.AddFeature(myf);
[Error] main.pas(2659): Not enough actual parameters
lay.AddFeature(myf);
[Fatal Error] nmiss.dpr(21): Could not compile used unit 'SYSTEM\main.pas'
问:怎么对lay.AddFeature(myf),nodedata.feature.Update,lay.selection.SelectByPoint(CenterX,CenterY,miselectionnew)加相关参数?