![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

----- Original Message -----
From: "Jeff" <jma_at_mfire.com>
To: <sftalk_at_forth.com>
Sent: Tuesday, September 09, 2003 2:43 AM
Subject: [sftalk] Importing overridden functions
> Just curious if there is a way to distinguish between overridden
> functions from a DLL (created in C++)?
>
> For example:
>
> void Add(double x1,double x2,double &ret);
> void Add(int x1,int x2,int &ret);
I expect you mean overloaded. If you have exported the functions as c++
functions and not wrapped them in extern "C" blocks, they will have a
mangled name (return type and parameter types are coded in the name). You
will need to find their corresponding mangled name.
regards,
Conrad Weyns.
>
> If not, I'll recode some of the DLL (which I have access to), but I
> would rather not if there is a way to do this in SF.
>
> --
> Best regards,
> Jeff mailto:jma_at_mfire.com
>
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
> For list command help, send subject "help" to sftalk-request_at_forth.com
> Message archives are located at http://www.forth.com/archive/sftalk
> ----------------------------------------------------------------------
> This list is a forum for SwiftForth users. For product support and bug
> reports, please send email to support_at_forth.com
> ----------------------------------------------------------------------
>
>
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and bug
reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Mon Sep 08 2003 - 23:03:22 PDT
This archive was generated by hypermail 2.2.0 : Tue Dec 02 2008 - 03:04:33 PST