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

Home » Public Forums » archive » Re: ABOUT DLL WITH VC++ IN IDL. HELP!
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: ABOUT DLL WITH VC++ IN IDL. HELP! [message #11700 is a reply to message #11693] Thu, 07 May 1998 00:00 Go to previous message
rivers is currently offline  rivers
Messages: 228
Registered: March 1991
Senior Member
In article <35502831.1546E712@teb.upm.es>, Julio Gustavo Perez Fernandez <gustavo@teb.upm.es> writes:
> Hi!, my name is Gustavo. I am working in the Group of Telemedicine
> and Bioengineering at the Polytechnical University of Madrid, I am
> interested in building DLLs with VC++, to use them in IDL ver 5.0.If
> somebody could provide me with some information about how to do it.
> We are using CALL_EXTERNAL function but we have some troubles.
> Some questions:
> Do we have to use "__declspec(dllexport)" or ".def" ?
> What are the link options that we have to use?
> We would like to know if it is possible to link VC++ .LIB with a
> programm in IDL.

There is an example provided in the idl50\external\sharelib directory.
It includes an example makefile and .def file. I have been using CALL_EXTERNAL
under Windows NT 4.0 with no problem. Note that in IDL 5.1 RSI changed the way
strings are passed to CALL_EXTERNAL under Windows. The good news is that they
made it compatible with the way it works on Unix. The bad news is that you
need 2 different DLLs if you want to support both IDL 5.1 and previous versions
of IDL.

____________________________________________________________
Mark Rivers (773) 702-2279 (office)
CARS (773) 702-9951 (secretary)
Univ. of Chicago (773) 702-5454 (FAX)
5640 S. Ellis Ave. (708) 922-0499 (home)
Chicago, IL 60637 rivers@cars.uchicago.edu (e-mail)

or:
Argonne National Laboratory (630) 252-0422 (office)
Building 434A (630) 252-0405 (lab)
9700 South Cass Avenue (630) 252-1713 (beamline)
Argonne, IL 60439 (630) 252-0443 (FAX)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: 5.1??
Next Topic: Re: idl under Windows NT behaviour

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

Current Time: Sat Nov 29 11:55:31 PST 2025

Total time taken to generate the page: 0.00847 seconds