Hi EveryBody
I'm trying to use MapPoint Inside my delphi application. I've read this very useful article: Using MapPoint In Delphi : it did work two months ago, but it does no more now!!
I followed all the instructions in the article, but when I try to run my application, I get the following error:
Code:[Pascal Error] MyProject.dpr(14): E2018 Record, object or class type required
Here is the code of Myproject:
program MyProject;
uses
Forms,
Main in 'Main.pas' {FrmMain},
MapPoint_TLB in 'MapPoint_TLB.pas';
{$R *.TLB}
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TFrmMain, FrmMain);
Application.Run;
end.
Besides, I can't find the activex tab in the component palette (neither MapPoint's TMap & Co, wherever I try to import the TLB?)
Where am I mistaking?
Do I have to start BDS in .Net Personality to use MapPoint?
Thnk u for your help