What do you mean by "doesn't find those libraries" ? Note that you can't directly use ccall to call into C++ libraries unless they have an `extern "C"` interface. You could try using Cxx.jl if there's not easy way to create `extern "C"` entry points, but it's easier to start with plain C at first.
On Friday, July 8, 2016 at 4:16:03 PM UTC-7, Karli Kund 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. >