Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C++ (http://www.go4expert.com/forums/cpp/)
-   -   create dll from a c++ project (http://www.go4expert.com/forums/create-dll-cpp-project-t19412/)

khatarat 14Sep2009 00:26

create dll from a c++ project
 
this is a c++ project
http://www.memsense.com/images/downl...EKF-v4.0.1.zip
there is a class in \MEMSense\Kalman Filter\h\Kalman\MAG_ExtendedKalman.h
its used some libraries
how can i create a dll from that header file.
i want to use this in a c# project

xpi0t0s 14Sep2009 03:45

Re: create dll from a c++ project
 
You can't create a DLL from just a header file. A DLL contains compiled source code, but a header is just definitions and doesn't contain any source code.
Probably there's a related source file that contains the implementation of the definitions (maybe MAG_ExtendedKalman.c) and you can compile that into a DLL; you would need to check your C++ compiler documentation for how to do that, and your C# documentation for how to link a C++ DLL into a C# project.

khatarat 14Sep2009 13:38

Re: create dll from a c++ project
 
there is no way to use this file in c#?
h t t p : / / r a p i d s h a r e . c o m /files/279836334/Kalman_Filter.rar.html

xpi0t0s 14Sep2009 14:18

Re: create dll from a c++ project
 
What kind of file is it? (I don't download RAR's from RapidShare when I don't know exactly what they are)

khatarat 14Sep2009 17:17

Re: create dll from a c++ project
 
this is include some header file and some lib files
i want to use class declared in file mag_extendedkalman.h in c#


All times are GMT +5.5. The time now is 00:36.