Re: Pros & cons of methods 1) DLM and 2) Call_External of calling C from IDL [message #93486 is a reply to message #93477] |
Wed, 03 August 2016 04:21   |
neil salmon
Messages: 20 Registered: August 2011
|
Junior Member |
|
|
Mike,
thanks very much for the offer of the modules. I think for the time being i'll take the simple approach, and as i'm working with IDL 6.0 i'll use the make_dll routine. However with this, how do i tell IDL where the compiler is? There are a number of compilers on my machine that i know about: MS Visual Studio 10.0, MINGW gcc and g++, and TDM-GCC 64\gcc and g++. The directories where the gcc and g++ compilers reside is in the Environment Variable PATH. However could i specify compiler location in the IDL routines, or from within the IDL IDE? That way i dont have too much stuff in the Environment Variable PATH.
I'd prefer to start doing this from within IDL using make_dll just to keep things simple, then later i may do from within MSVS do create the dll.
Later i'll invest time on the DLM route, as this seems the best way if you have many routines, certainly the best route for long term.
many thanks,
neil
|
|
|