# Can't build Windows sdk in vs2019

**URL:** <https://devforum.zoom.us/t/cant-build-windows-sdk-in-vs2019/35384>\
**Category:** Windows\
**Created:** [November 8, 2020, 1:10am UTC](https://devforum.zoom.us/t/cant-build-windows-sdk-in-vs2019/35384 "2020-11-08T01:10:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![powerguan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/powerguan/32/3486_2.png) [@powerguan](https://devforum.zoom.us/u/powerguan)\
**Post date:** [November 8, 2020, 1:10am UTC](https://devforum.zoom.us/t/cant-build-windows-sdk-in-vs2019/35384/1 "2020-11-08T01:10:02Z")

</div>

**Description**  
I have two questions about windows SDK.

1. base vs2019 IDE, once import zoom\_sdk.h I will get compile error. It says GetVersion() function be conflict with sysinfoapi.h’s GetVersion().  
 ![Screen Shot 2020-11-07 at 7.58.05 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/a/6a34b24301b8d6565c6fbe4037d61981f3fffef4.png) ![Screen Shot 2020-11-07 at 7.58.14 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/3/03b946ccc3f7e1189991745bebaef9c631a07981.png)  
if I comment #include “zoom\_sdk.h” build will be successful.  
 ![Screen Shot 2020-11-07 at 8.26.32 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/8/48de8fc862a17cbfcf1125645a74999ecbdab59f.png)
2. base 2017 IDE, load and init Zoom’s dll, it always very slowy if it’s release build; Debug build is normally.

---

<div class="post-metadata">

**Author:** ![powerguan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/powerguan/32/3486_2.png) [@powerguan](https://devforum.zoom.us/u/powerguan)\
**Post date:** [November 20, 2020, 2:20am UTC](https://devforum.zoom.us/t/cant-build-windows-sdk-in-vs2019/35384/2 "2020-11-20T02:20:04Z")

</div>

for question 2, I found it’s fixed in latest SDK version [v5.2.42037.1112](https://github.com/zoom/zoom-sdk-windows/releases/tag/v5.2.42037.1112).

for question 1, I downgrade to vs2017 and fix it.

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [December 24, 2020, 12:52am UTC](https://devforum.zoom.us/t/cant-build-windows-sdk-in-vs2019/35384/3 "2020-12-24T00:52:21Z")

</div>

Hey @powerguan,

Thanks for using the dev forum!  
I am glad you have resolved the first issue. In regards to the second issue, the ZoomSDK only supports release builds. How have you configured your debug build?

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![powerguan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/powerguan/32/3486_2.png) [@powerguan](https://devforum.zoom.us/u/powerguan)\
**Post date:** [December 28, 2020, 5:59pm UTC](https://devforum.zoom.us/t/cant-build-windows-sdk-in-vs2019/35384/4 "2020-12-28T17:59:32Z")

</div>

@Michael_Condon yes, I have tried debug build. it works well
