create dll from a c++ project

Discussion in 'C++' started by khatarat, Sep 13, 2009.

  1. khatarat

    khatarat New Member

    Joined:
    Sep 13, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    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.
     
  3. khatarat

    khatarat New Member

    Joined:
    Sep 13, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    What kind of file is it? (I don't download RAR's from RapidShare when I don't know exactly what they are)
     
  5. khatarat

    khatarat New Member

    Joined:
    Sep 13, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    this is include some header file and some lib files
    i want to use class declared in file mag_extendedkalman.h in c#
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice