# User Exits: Accessing a Shared C Library on Windows

**URL:** <https://techcommunity.softwareag.com/t/user-exits-accessing-a-shared-c-library-on-windows/177552>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-on-Windows-Unix\
**Created:** [July 18, 2014, 6:42pm UTC](https://techcommunity.softwareag.com/t/user-exits-accessing-a-shared-c-library-on-windows/177552 "2014-07-18T18:42:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Curran](https://avatars.discourse-cdn.com/v4/letter/g/3d9bf3/32.png) [@George\_Curran](https://techcommunity.softwareag.com/u/George_Curran)\
**Post date:** [July 18, 2014, 6:42pm UTC](https://techcommunity.softwareag.com/t/user-exits-accessing-a-shared-c-library-on-windows/177552/1 "2014-07-18T18:42:33Z")

</div>

According to the documentation for NaturalONE, Natural Language for Windows online and the documentation installed with the community version for Windows for the CALL statement, sample code for compiling a shared C library as a user exit should have been installed to %NATDIR%%NATVERS%\natural\samples\sysexuex directory. However, that directory directory does not exit and I can find no other “samples” directory under the installation directory.

I am hoping someone can point or share a version of the sample code or even a working “makedyn” file that I can use to compile a share library so I can test calls to a user exit from Natural.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:31pm UTC](https://techcommunity.softwareag.com/t/user-exits-accessing-a-shared-c-library-on-windows/177552/2 "2021-04-02T15:31:36Z")

</div>


