tags:

views:

94

answers:

2

Has anyone installed ESRI mapobjects activeX controls in Delphi 2010? I get a conflict on tTable as a component name.

A: 

I have MapObjects LT 2.0 installed into Delphi 2007, no conflicts and there is no type called TTable in it. You must be using a different version of MapObjects though that does have a TTable type. I can send you my imported pas file if it would help.

Alan Clark
A: 

After generating the component wrappers simply search/replace or use a refactoring to rename the generated TTable component in the _TLB.pas import unit so something else that will not conflict.

Deltics
Could one use the mapping Barry describes here: http://stackoverflow.com/questions/531171/why-is-gentlb-renaming-symbols-appending/531784#531784?
Ulrich Gerhardt
@Ulrich: YES! At least, it looks like you should be able to. For some reason I had no idea that even existed! Cool.
Deltics