# StartAppShare not working

**URL:** <https://devforum.zoom.us/t/startappshare-not-working/74725>\
**Category:** Windows\
**Created:** [August 23, 2022, 1:54pm UTC](https://devforum.zoom.us/t/startappshare-not-working/74725 "2022-08-23T13:54:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vidattdataanalytics](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vidattdataanalytics/32/34425_2.png) [@vidattdataanalytics](https://devforum.zoom.us/u/vidattdataanalytics)\
**Post date:** [August 23, 2022, 1:54pm UTC](https://devforum.zoom.us/t/startappshare-not-working/74725/1 "2022-08-23T13:54:35Z")

</div>

Hi team,

I’m trying to share a window directly when my meeting starts.

I tried to use “hDirectShareAppWnd” parameter but I’m facing an issue as mentioned in the below link:

> [@Share screen dialogue pops up after sharing a window directly using "hDirectShareAppWnd"](https://devforum.zoom.us/t/share-screen-dialogue-pops-up-after-sharing-a-window-directly-using-hdirectshareappwnd/73405/5):
>
> Thank you for the quick reply, @donte.zoom . We are following the same steps as mentioned in the above post. The required window is shared directly as expected when the meeting starts. However, there is another window which says “Select a window or an application that you want to share” which pops up. I want to hide that window because the window I want to share is already being shared. In the above image, the “scripts” window is being shared directly as expected when the meetin…

Now, I’m trying to use StartAppShare:

m\_pMeetingService-\>Start(startParam);  
m\_pMeetingService-\>GetMeetingShareController()-\>StartAppShare(hWnd);

But the window is not being shared.

**Which Windows Meeting SDK version?**  
zoom-sdk-windows-5.11.1.6653

Could you please let me know if there is some other way I can share the window?

Thank you.

---

<div class="post-metadata">

**Author:** ![vidattdataanalytics](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vidattdataanalytics/32/34425_2.png) [@vidattdataanalytics](https://devforum.zoom.us/u/vidattdataanalytics)\
**Post date:** [August 24, 2022, 10:48am UTC](https://devforum.zoom.us/t/startappshare-not-working/74725/2 "2022-08-24T10:48:38Z")

</div>

Fixed it.  
There was a mistake with the flow in my code.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 23, 2022, 8:48pm UTC](https://devforum.zoom.us/t/startappshare-not-working/74725/3 "2022-09-23T20:48:46Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
