9 messages in net.java.dev.jna.usersRe: [jna-users] C++ StdCallFunctionMa...
FromSent OnAttachments
Ewan SlaterApr 8, 2008 10:45 am 
Timothy WallApr 8, 2008 11:15 am 
Paul MooreApr 8, 2008 11:50 am 
Albert StrasheimApr 8, 2008 1:26 pm 
Ewan SlaterApr 9, 2008 12:44 am 
Timothy WallApr 9, 2008 3:53 am 
Ewan SlaterApr 9, 2008 11:44 am 
Timothy WallApr 9, 2008 7:32 pm 
Timothy WallApr 9, 2008 7:32 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] C++ StdCallFunctionMapperActions...
From:Albert Strasheim (full@gmail.com)
Date:Apr 8, 2008 1:26:18 pm
List:net.java.dev.jna.users

Hello,

On Tue, Apr 8, 2008 at 8:51 PM, Paul Moore <paul@centrify.com> wrote:

if they are plain functions (as opposed to class methods) you can put extern "C" in front of the fucntion declarations inthe c++ code and that will turn the name mangling off

Along these lines, if you don't have too much C++ API to wrap, you build a small C layer on top of your C++ (and export these C functions from your DLL).

You can probably think of this approach as manual name demangling.

Cheers,

Albert