Similar Threads
1. "using namespace std" in VS C++ Class Library (.NET) project
2. using Matlab c-shared library in Visual C++ .NET (2003) project
I'm trying to use Matlab C-shared library inside Visual C++ project and can't do it,
so I tried the libmatrix exmaple provided in the documentation.
When I build it using mbuild it works perfectly, but when I try to build it in the Microsoft Visual C++ environmet, compilation goes well, but I get the following exception at runtime, before reaching the first line in the main
(it breaks at crt0.c, line 158):
"Unhandled exception at 0x000305aa in matrixdriver.exe: 0xC0000005: Access violation reading location 0x000305aa."
Any help would be very much appreciated.
Ofra
3. Memory leak using Matlab library in C++ project - MATLAB
4. using fis.c in a c++ project
Hi to all,
I'm a newbie with the c++, I have the preparation of base given from
the Deitel & Deitel... I am trying to use the fis.c class of matlab
fuzzy toolbox in my c++ project.
Watching the fismain.c I have thought that it was corrected to use the
preprocessor #includes "fis.c" but when I compile give errors on the
fis.c. I think because it's a class written in C. How I can make in
order to use in my c++ project the functions of the class fis? I pray
to you you help me... I use eclipse... thanks to all
5. Using GNAT project files and libraries
6. Linking a C program to a C++ library which uses STL
Hi,
I tried to link a C program to a library which is written by me in C+
+.
I read some posts about linking a C program to C++ libraries. It seems
doable by adding extern "C" to the C++ head file and to the function
body modifier. However, in my test, it still doesn't work. The linking
error messages are like undefined reference for new operator, and
undefined reference from dequeue.tcc. ( sorry I don't know how to copy
lines from terminals under solaris.)
I used STL vector and queue in the library, and I guess they uses new
operator to put items inside them.
The C program fails to link if gcc is used.
If I use g++ to build the file, there's no problem.
So I thought the code in the C++ library should also be recognized in
C. Keywords like "new," " delete," and "vector" are not allowed.
But then I thought if the code is recognized in C is the first place,
what is extern "C" for?
Can somebody explain this to me? Thanks.
7. Wrapping a C++ library using ?FFI
8. using swig and c++ template library
Hi,
I'm trying to add a tcl/tk interface for a program written in c++,
which uses c++ standard template libraries. Is it doable with swig? I
don't want to spend a lot of time on a dead end. Thanks in advance.
Joe