Mix C++ DLL with C main program

Discussion in 'C Programming' started by Toondalis, Nov 14, 2003.

  1. Toondalis

    Toondalis Guest

    Hi,

    I Extend a program that us C . It allows us to etxtend it thru DLLs.
    How can i write a C++ DLL that can interface with the C main program .
    the DLL must provide a few call abck function for the main program to
    call


    seewan
     
    Toondalis, Nov 14, 2003
    #1
    1. Advertisements

  2. (Toondalis) wrote in
    news::


    > I Extend a program that us C . It allows us to etxtend it thru DLLs.
    > How can i write a C++ DLL that can interface with the C main program .
    > the DLL must provide a few call abck function for the main program to
    > call


    No idea since C++ and DLL's are not part of C. You might find answers in
    win32 programming newsgroups if these are Windows-type DLLs.

    --
    - Mark ->
    --
     
    Mark A. Odell, Nov 14, 2003
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anushi
    Replies:
    5
    Views:
    10,518
  2. Replies:
    1
    Views:
    717
    Andrew Thompson
    Oct 31, 2005
  3. Toondalis

    C++ DLL and C main program

    Toondalis, Nov 14, 2003, in forum: C++
    Replies:
    1
    Views:
    450
    Ekkehard Morgenstern
    Nov 14, 2003
  4. Replies:
    12
    Views:
    2,093
    Jorgen Grahn
    Mar 26, 2007
  5. dolphin
    Replies:
    45
    Views:
    1,137
    John Bode
    Apr 3, 2007
  6. blackbiscuit
    Replies:
    4
    Views:
    409
    James Kanze
    Nov 12, 2008
  7. H. Simpson
    Replies:
    4
    Views:
    616
    H. Simpson
    Aug 3, 2004
  8. Jean Dubois
    Replies:
    6
    Views:
    273
    Jean Dubois
    Dec 19, 2013
Loading...