# Embedding Julia in Windows

**URL:** <https://discourse.julialang.org/t/embedding-julia-in-windows/76693>\
**Category:** New to Julia\
**Tags:** windows, embedding, c\
**Created:** [February 18, 2022, 12:55pm UTC](https://discourse.julialang.org/t/embedding-julia-in-windows/76693 "2022-02-18T12:55:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanielP](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@DanielP](https://discourse.julialang.org/u/DanielP)\
**Post date:** [February 18, 2022, 12:55pm UTC](https://discourse.julialang.org/t/embedding-julia-in-windows/76693/1 "2022-02-18T12:55:12Z")

</div>

Hi, I have tried to call my tested Julia function from C program on Windows 10. I am using gcc compiler (minGW). When I compile, link and launch my program from the IDE (I am using Code::Blocks IDE) it works fine. The correct function output is displayed on the command line.

However, when I try to run the executable outside the IDE, the library `libjulia.dll.a` is not found. I am confused how come that Code::Blocks are able to run it but I am not. Can anyone advice what the problem can be? `libjulia.dll.a` cannot be registered in Windows 10, it tells the library is not designed for windows.

Can `libjulia.dll.a` be used in Windows?

---

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [July 12, 2025, 7:06pm UTC](https://discourse.julialang.org/t/embedding-julia-in-windows/76693/2 "2025-07-12T19:06:21Z")

</div>

Welcome to the Julia community! I’m seeing this very late… but:

Julia should also work on Windows, in every way including embedding.

I’m not on Windows to test anything, I think you would use libjulia.dll never heard of .dll.a and doubt that’s they way to use Julia.

[your thread popped up while I was reading about _juliac_, and it’s quite new, should also work for Julia (1.12) on Windows, but it’s quite new, so I can’t say for sure, I believe it also works to make libraries to embedd, you could try, otherwise use the old ways do do such on Windows.]
