 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Marwan Guest
|
Posted: Mon Jun 14, 2004 2:07 pm Post subject: Can delphi work with map ?? |
|
|
Can delphi work with map like arcview or arcgis ?
|
|
| Back to top |
|
 |
Chris Morgan Guest
|
Posted: Mon Jun 14, 2004 2:19 pm Post subject: Re: Can delphi work with map ?? |
|
|
| Quote: | Can delphi work with map like arcview or arcgis ?
|
Yes,
You can use Delphi to create Arcmap extensions using
ArcObjects in the same way as you would use Visual Basic.
As long as you can translate all the examples from VB
you should have no problems.
Import the ArcObjects type library into Delphi,
then go to File-New-ActiveX Library.
However, there are some bugs with the Type-Library import
mechanism with Delphi 6+ which means you will probably
need to manually edit the automatically-generated
PAS file.
Cheers,
Chris
|
|
| Back to top |
|
 |
willem van Deursen Guest
|
Posted: Mon Jun 14, 2004 2:21 pm Post subject: Re: Can delphi work with map ?? |
|
|
Hello Marwan,
Delphi can not work with ArcView, because ArcView is not a com-object
and does not expose methods or anything to the outside world. If you
want to go this way, you have to use ArcObjects. Delphi can work with
ArcGIS, because this exposes its COM-object to the outside world and
Delphi can be used to control this (see
[url]http://www.esri.com/software/arcgis/arcgisengine/index.html)[/url]. This
involves COM-programming.
There are however quite some other mapping components available for
Delphi, which might better integrate in Delphi (native VCL, so no COM).
Search the internet for TGlobe, TatukGIS, ActiveMap, inovaGIS and
CartoVCL to name only a few.
Willem
Marwan wrote:
| Quote: | Can delphi work with map like arcview or arcgis ?
|
--
Willem van Deursen, The Netherlands
[email]wvandeursen_nospam (AT) nospam_carthago (DOT) nl[/email]
replace _nospam@nospam_ for @ to get a valid email address
www.carthago.nl
|
|
| Back to top |
|
 |
Marwan Guest
|
Posted: Mon Jun 14, 2004 3:12 pm Post subject: Re: Can delphi work with map ?? |
|
|
hello willem
thanks for your explanation. I will try InovaGIS because its free :)
"willem van Deursen" <noname (AT) noname (DOT) nl> wrote
| Quote: | Hello Marwan,
Delphi can not work with ArcView, because ArcView is not a com-object
and does not expose methods or anything to the outside world. If you
want to go this way, you have to use ArcObjects. Delphi can work with
ArcGIS, because this exposes its COM-object to the outside world and
Delphi can be used to control this (see
[url]http://www.esri.com/software/arcgis/arcgisengine/index.html)[/url]. This
involves COM-programming.
There are however quite some other mapping components available for
Delphi, which might better integrate in Delphi (native VCL, so no COM).
Search the internet for TGlobe, TatukGIS, ActiveMap, inovaGIS and
CartoVCL to name only a few.
Willem
Marwan wrote:
Can delphi work with map like arcview or arcgis ?
--
Willem van Deursen, The Netherlands
[email]wvandeursen_nospam (AT) nospam_carthago (DOT) nl[/email]
replace _nospam@nospam_ for @ to get a valid email address
www.carthago.nl
|
|
|
| Back to top |
|
 |
Uffe Kousgaard Guest
|
Posted: Mon Jun 14, 2004 8:50 pm Post subject: Re: Can delphi work with map ?? |
|
|
"willem van Deursen" <noname (AT) noname (DOT) nl> wrote
| Quote: | Hello Marwan,
Delphi can not work with ArcView, because ArcView is not a com-object
and does not expose methods or anything to the outside world.
|
You can write DLL's that arcview3 calls from avenue. It is also possible
to execute avenue statements from Delphi through the AVexec function in
the AVEXEC32.DLL.
Regards
Uffe
|
|
| Back to top |
|
 |
willem van Deursen Guest
|
Posted: Tue Jun 15, 2004 5:56 am Post subject: Re: Can delphi work with map ?? |
|
|
Hello Uffe,
you are of course absolutely right here, but this provides only very
limited control over AV. I do write a lot of my dialogs in delphi, and
create dlls which can be called from AV. However, I never got the AVExec
functionality working (never spent too much time on it either).
I know there should be a way to use DDE as well, but very old, very
unstable technology...
Willem
Uffe Kousgaard wrote:
| Quote: | "willem van Deursen" <noname (AT) noname (DOT) nl> wrote in message
news:40cdb447$1 (AT) newsgroups (DOT) borland.com...
Hello Marwan,
Delphi can not work with ArcView, because ArcView is not a com-object
and does not expose methods or anything to the outside world.
You can write DLL's that arcview3 calls from avenue. It is also possible
to execute avenue statements from Delphi through the AVexec function in
the AVEXEC32.DLL.
Regards
Uffe
|
--
Willem van Deursen, The Netherlands
[email]wvandeursen_nospam (AT) nospam_carthago (DOT) nl[/email]
replace _nospam@nospam_ for @ to get a valid email address
www.carthago.nl
|
|
| Back to top |
|
 |
David Berneda Guest
|
|
| Back to top |
|
 |
K. Sallee Guest
|
|
| Back to top |
|
 |
hongbin.fei Guest
|
Posted: Wed Jun 16, 2004 1:11 pm Post subject: Re: Can delphi work with map ?? |
|
|
TCAD can help you!
best reguards.
hongbin.fei
--------------------------------------
Crystal Component - TCAD
http://www.codeidea.com
Developer Forum
http://bbs.codeidea.com
--------------------------------------
Crystal Component
Room 307#,TiaoXi Road Commerce Building
HuZhou, ZheJiang 313000
China
Phone: +86 572 7281888
Mobile: +86 (0) 13335721372
Email :webmaster (AT) codeidea (DOT) com
"K. Sallee" <nonomail (AT) ecostats (DOT) com> ????
news:opr9mquqq7ri0is8 (AT) ecologsoft (DOT) ecologicalsoftwaresolutions.office...
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|