MapWinGis for RAD studio 10 Seatle

Hi!

Maybe someone could help me? I’ve successfully installed MapWinGIS 5.1.1 to my RAD studio. However, when I’m trying to put TMap component on Form the problem has occurred - “Class not registered”. I launched the regMapWinGIS.cmd file in dev directory, then rebooted OS. Doesn’t help!

Could you kindly provide any instructions?

Thanks in advance
Aliaksandr

Hello @Aliaksandr, and welcome.

There are Delphi users in this forum who may have specific feedback, but this may be related to a change that occurred after the release of v5.1.1 (specifically MWGIS-205).

If you like, you can download the latest ‘develop’ build, which is available on Paul Meems Google Drive. Then if the problem still exists, we can take it from there.

Regards,
Jerry.

1 Like

Hello @Aliaksandr,

You only use the ocx.
The installation already registered the component:

In Delphi, make new package and save it somewhere you want.
Then Import Component:
component
ActiveX
Activex
Look for the MapWin.ocx on the list


Select your path to the unit name (Where you have your project)

Create Unit…

The created unit has to be edited due to version mismatch. So the trick is to replace MapWinGIS_TLB.pas with the one that you download (in the Mapwin installation directory)

Once you have all that, Compile and Install


And the component should be installed…

I hope this is of use !!

Alex

1 Like

Hi Alex!

Many thanks for such detailed instructions.

Firstly, when I install MapWinGIS v5.1.1.1-x64 (My Windows OS has 64bit) Delphi 10 doesn’t see MapWinGIS components through the Import Component option. However, when I installed version for 32bit OS, it started to work. Curiously!
Then I procceed with following steps:

  1. Made a New package through the Install Component option like so
  2. I put evrything into single folder
  3. the Package has been created successfully
    2020-04-09_22-35-56
  4. Followed by your instruction, I made an import of ActiveX component
    2020-04-09_22-37-02
  5. After that I added a TMap to sample category using New component option (here I have doubts that I made everything in a proper way)
    2020-04-09_22-39-18
  6. Anyway, I solved the issue with unregistered class :triumph:, but now I have the new one. ‘The specified procedure was not found’ when I drop Tmap on form.

    Advice?

What’s the problem? The installer also contains the assembled component for installation in the root folder. MapWinGIS.Delphi.Component.v5.1.0.zip. Try…

1 Like

Good day!

I did it! I made it through import of components and new package installation. However, I still don’t understand why only 32 bit version is working.

Many thanks to all ! :beer:

Hello @Aliaksandr

You are almost there… make it work for Win 32…
In your package compile and install for buil32.
You can also compile for win64 (just add platform) and compile …

Using a Command window with Administrator privileges, navigate to the MapwinGIS.ocx (64 bits)
Register it with:
regsvr32 MapwinGIS.ocx

Both 32, and 64 bits can be at the same time…

Then you can work with 32 and 64 bit Apps…

I have to tell you that the 64bit ocx is not working very well… @jerryfaust is looking to update it in order to match 32 bit functionality…

In the mean time you can play with the 32 bit until the 64 bit is getting updated… (Well, that is what I am doing )

Regards

Alex