Re: DLL Questions

new topic     » goto parent     » topic index » view thread      » older message » newer message

David:

  Are you aware that you can prevent name-magling to any C code

  when you are using a CPP by using extern.

  To do a whole include file do this.


  extern "C" {
  #include "aheader.h"
  };

  for a single function do this.

  extern "C" {
  int foo( );
  }

  Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu