Re: Is there a way to use C++ code in IDL [message #34208 is a reply to message #34207] |
Thu, 20 February 2003 08:48  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
CelticBlues (idluser@celticblues.com) writes:
> I have an ascii data file that I need to read. I already have C++ code that
> will parse the file and store it in a structure. Is there a way to reuse
> this C++ code in IDL so that I don't have to recode the parse routines?
Yes, there is a way to reuse this code, but learning
the methods to do it will far surpass (by many orders of
magnitude) the time it will take (say 5 minutes) to
learn to parse an ASCII file in IDL. :-)
See Call_External, Make_DLL, LinkImage, etc.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|