Re: using C++ library in IDL as a function [message #46785] |
Fri, 16 December 2005 05:33 |
Haje Korth
Messages: 651 Registered: May 1997
|
Senior Member |
|
|
Park,
I suggest writing a Dynamic Link Module (DLM), which is basically a wrapper
to the C++ library. You can find the information your need in the external
development guide, which is included as PDF in your IDL distribution. Also,
Ronn Kling's book "Calling C/C++ from IDL" is an excellent reference that I
used to circumwent RSI's awkward and difficult description of something that
is really not that difficult.
I was looking at the ANN library a few weeks ago and thought it might be
useful to have this available in IDL, but I never found the time to code
this up. So if you succeed it would be nice if you could upload this to the
RSI code bank and share it with us.
Cheers,
Haje
"Park" <snfinder@naver.com> wrote in message
news:1134725098.723942.10810@g44g2000cwa.googlegroups.com...
> HI~ ALL~ ^^
>
> I need help of experts for the following.
>
> I want to use C++ library like IDL function.
>
> C++ library is
> ANN: A Library for Approximate Nearest Neighbor Searching .
> (http://www.cs.umd.edu/~mount/ANN/)
>
> I wish to call ANN on everywhere I need that routine.
>
> But I can't find out how can I make this work in IDL.
>
> Please, help me ^0^.
>
> PARK :-)
>
|
|
|