comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » calling function in DLL compiled with C++
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: calling function in DLL compiled with C++ [message #29216 is a reply to message #28996] Wed, 06 February 2002 09:00 Go to previous message
wbiagiot is currently offline  wbiagiot
Messages: 59
Registered: January 1999
Member
Richard Younger <younger@ll.mit.edu> wrote in message news:<3C50723F.E0D299F9@ll.mit.edu>...
> Dominik Paul wrote:
>>
>> Hi Richard,
>>
>> I allready tried the extern C construct. But then I got some problems,
>> using other C++ routines in the DLL.
>> So, this method didnt work for me.
>>
>> But Gregs suggestion was ok. The DLL is running now, thanks
>> Dom
>


I just stumbled across this thread and wanted to remind everyone about
the TERRIFIC free DLM that Randall Frank has on Ronn Kling's website.
Here's a snipit about the relevant section:

------------------------------------------------------------ ------
* A generic interface for calling Windows DLL functions directly

This interface allows an IDL program to directly access the
exported functions in any Windows DLL. This interface can
replace the CALL_EXTERNAL wrappers for many functions under
Windows. The interface consists of two functions. One to
define the external function to IDL and one to query the
external function table.
------------------------------------------------------------ ------

I have used this interface with 3rd party DLLs (i.e. no source code)
with great success (National Instrument's VISA library). I consider
this DLM an essential part of my IDL code (gush gush). Check it out.

-Bill
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: idl5.5 widget_draw and color
Next Topic: All day FFT....

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 17:52:25 PDT 2025

Total time taken to generate the page: 0.65093 seconds