Hi Karli,

With CxxWrap.jl you can write a small C++ wrapper in VisualStudio that can
then easily be used from Julia to access your C++ functions. See
https://github.com/barche/CxxWrap.jl

It does require at least Visual Studio 2015 update 2 (I tested with the
community edition).

Cheers,

Bart

On Sat, Jul 9, 2016 at 1:16 AM Karli Kund <karli...@gmail.com> wrote:

>
>
> I'm new with Julia one(many) problem(s). I'm using c++ libraries
> (.dll/.lib) to connect my c++ program to company's program (it connects to
> home 127.0.0.1 through 5111 port by calling function "connect(port,in, out)
> and it works). Now I have Julia code that has to the same thing. My
> question is, how can I use this libraries? I try to use ccall function, but
> it doesn't find those libraries. I haven't found any info on windows how to
> set different libraries for ccall.
>
> Other option is I translate everything to c++, but...no. Maybe second
> option is that I open the libraries and re-write them to Julia.
>
> I'm using windows 7 and visual studio for c++. For Julia I use Atom with
> Juno package.
>

Reply via email to