# How to "use" a Module in the C language ("using Module")

**URL:** <https://discourse.julialang.org/t/how-to-use-a-module-in-the-c-language-using-module/97578>\
**Category:** General Usage\
**Created:** [April 17, 2023, 3:17pm UTC](https://discourse.julialang.org/t/how-to-use-a-module-in-the-c-language-using-module/97578 "2023-04-17T15:17:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvanuxem](https://avatars.discourse-cdn.com/v4/letter/g/a587f6/32.png) [@gvanuxem](https://discourse.julialang.org/u/gvanuxem)\
**Post date:** [April 17, 2023, 3:17pm UTC](https://discourse.julialang.org/t/how-to-use-a-module-in-the-c-language-using-module/97578/1 "2023-04-17T15:17:53Z")

</div>

Hello folks,

My question is how to load a package in C à la “using Module”?

My code for now does nothing. No warning, no error:

void jl\_add\_module(char \*module){  
jl\_module\_using(jl\_main\_module, jl\_new\_module(jl\_symbol(module)));  
}

Any idea of what I’m doing wrong?

Cheers,

Greg

PS: I imperatively do not want to use a jl\_eval\_string(“using Module”)
