Re: using DLL built with VC6

Rudy Velthuis <[email protected]> Tue, 23 Aug 2005 22:53:52 +0200
Newsgroups gmane.comp.lang.delphi.jedi
Message-ID <[email protected]>
soya protein wrote:

>  Here :
> 
>  EXPORT ord:0001='?WRAPIDisassociate@@YAJXZ'
> 
>  Thanks for the help. It's a name mangling that killed it ...

I'd guess that proper

   #ifdef __CPLUSPLUS
   extern "C" {
   #endif

and

   #ifdef __CPLUSPLUS
   }
   #endif

are missing around the declarations of the routines. Making them __stdcall would 
also make things easier.
-- 
Rudy Velthuis        http://rvelthuis.bei.t-online.de


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h0iivli/M=362131.6882499.7825260.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1124837768/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Delphi-JEDI/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/