# Init error ( 65544)

**URL:** https://discourse.glfw.org/t/init-error-65544/2064
**Category:** support
**Created:** [May 24, 2022, 2:13pm UTC](https://discourse.glfw.org/t/init-error-65544/2064 "2022-05-24T14:13:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![livelove1987](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/livelove1987/32/626_2.png) [@livelove1987](https://discourse.glfw.org/u/livelove1987)
#### Post date: [May 24, 2022, 2:13pm UTC](https://discourse.glfw.org/t/init-error-65544/2064/1 "2022-05-24T14:13:51Z")

</div>

When i use glfwInit() i got this error  
65544: Win32: Failed to retrieve own module handle.  
Im compiling my files to .dll file and next injecting it.  
Version of glfw - 3.4

---

<div class="post-metadata">

### Author: ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)
#### Post date: [May 24, 2022, 2:55pm UTC](https://discourse.glfw.org/t/init-error-65544/2064/2 "2022-05-24T14:55:31Z")

</div>

The function `glfwInit()` will fail with this error on Windows due to `GetModuleHandleExW` failing to find the module which the `glfwInit()` function is part of. If you are ‘cloaking’ the DLL to prevent it from being found then this could be the reason it fails.

Since DLL injection is frequently used by hackers trying to add game overlays for cheating I will not provide further help.

---

<div class="post-metadata">

### Author: ![livelove1987](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/livelove1987/32/626_2.png) [@livelove1987](https://discourse.glfw.org/u/livelove1987)
#### Post date: [May 24, 2022, 2:57pm UTC](https://discourse.glfw.org/t/init-error-65544/2064/3 "2022-05-24T14:57:46Z")

</div>

OH, okey. Thx. Any function witch will return me same efect and will work with .dll ?

---

<div class="post-metadata">

### Author: ![Tiamat-Defender](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/tiamat-defender/32/1061_2.png) [@Tiamat-Defender](https://discourse.glfw.org/u/Tiamat-Defender)
#### Post date: [January 3, 2026, 11:01pm UTC](https://discourse.glfw.org/t/init-error-65544/2064/4 "2026-01-03T23:01:02Z")

</div>

Add the following dependencies to your project

```auto
opengl32.lib
glfw3dll.lib

```

This will fix your issue. Ensure that the DLL is available on the client’s computer so that your loader can locate it.
