# MW5.6.3 - Compilation error VS2019

**URL:** <https://mapwindow.discourse.group/t/mw5-6-3-compilation-error-vs2019/824>\
**Category:** Uncategorized\
**Created:** [December 11, 2020, 11:28am UTC](https://mapwindow.discourse.group/t/mw5-6-3-compilation-error-vs2019/824 "2020-12-11T11:28:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bet](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@bet](https://mapwindow.discourse.group/u/bet)\
**Post date:** [December 11, 2020, 11:28am UTC](https://mapwindow.discourse.group/t/mw5-6-3-compilation-error-vs2019/824/1 "2020-12-11T11:28:28Z")

</div>

Greetings,

A new community member and hopefully contributor in the development sphere. Downloaded  
version 5.6.3, however I’m experiencing the difficulty in compiling MapWindow from the VS2019  
environment. Configuration Manager is set to target x86 environment.

This is the screenshot:

 ![Captur2e](https://global.discourse-cdn.com/free1/uploads/mapwindow1/original/1X/b771625f9c7c7ced8db1c8984cb8f3d79b6eda57.png)

Can you give me some hint what I should do or perform with this exception, much appreciated.

---

<div class="post-metadata">

**Author:** ![jerryfaust](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/jerryfaust/32/378_2.png) [@jerryfaust](https://mapwindow.discourse.group/u/jerryfaust)\
**Post date:** [December 12, 2020, 6:36am UTC](https://mapwindow.discourse.group/t/mw5-6-3-compilation-error-vs2019/824/2 "2020-12-12T06:36:20Z")

</div>

Hello @bet, and welcome.

As you may know, this project consists of an OCX (the map control) and MapWindow5, which is a c# application that uses the OCX.

I work with the OCX, not MapWindow, so I can’t offer much help, but I looked up the GUID of the missing component, and it is from the OCX (MapWinGIS.GlobalSettings). So I wonder if you have installed/registered the OCX on your development machine, so that MapWindow build can find the references?

Regards,  
Jerry.

---

<div class="post-metadata">

**Author:** ![bet](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@bet](https://mapwindow.discourse.group/u/bet)\
**Post date:** [December 13, 2020, 11:39am UTC](https://mapwindow.discourse.group/t/mw5-6-3-compilation-error-vs2019/824/3 "2020-12-13T11:39:54Z")

</div>

Hi Jerry,

Thanks for the reply first and second is that I used OCX from the installer and registered it with SysWOW/regsvr32 or 32bit version of that program and still the same… Obviously it’s a conflict between 32 and 64bit translation yet I’ve done with regsvr32 all I can

 ![Capture](https://global.discourse-cdn.com/free1/uploads/mapwindow1/original/1X/bf5d461a3ad0a2a0fa1dc61f9170de16a05b4aa6.png)

UPDATE: Solved IT.

The issue in the 32bit version of MW5.6.3 is in inability to register properly MapWinGIS.ocx even though regsvr32 notifies you with the success message.

Solution: Copy complete MapWinGIS.OCX component alongside all other files (folder MapWinGIS) directly to SysWOW64 and then run regsvr32. Compile and run.

Cheers.

---

<div class="post-metadata">

**Author:** ![pmeems](https://yyz2.discourse-cdn.com/free1/user_avatar/mapwindow.discourse.group/pmeems/32/9_2.png) [@pmeems](https://mapwindow.discourse.group/u/pmeems)\
**Post date:** [January 5, 2022, 3:10pm UTC](https://mapwindow.discourse.group/t/mw5-6-3-compilation-error-vs2019/824/4 "2022-01-05T15:10:42Z")

</div>


