| Re: IDL with C++ [message #35290] |
Wed, 04 June 2003 11:51  |
Rick Towler
Messages: 821 Registered: August 1998
|
Senior Member |
|
|
"Reimar Bauer" wrote in message...
> Rick Towler wrote:
>> "Juan Luis Medina Trujillo" wrote in message...
>>
>>
>>> I have just started to learn IDL (yesterday), but Im very experienced in
>>> MATLAB, so Im starting to see many similarities that make me go through
>>> much faster. I will probably have to implement a GUI in IDL including
>>> many mathematical operations on image processing (Im working in the
>>> Canarian Astrophysics Institute) and I will also have to use C++ code to
>>> do many routines like accessing to data from network, database
>>> programming, assembly coding possibly and so on.
>>>
>>> I know there is at least one good book about IDL + C 'Calling C from
>>> IDL' (Ronn Klings) which Im seriously thinking to purchase, but I would
>>> also like to get some help from any of you about this combination
>>> between IDL and C++. Does any of you have some small routines where you
>>> combine both? with that, I will have a lot of information to figure out
>>> how to deal with my problem. Of course, later many other problems will
>>> arise, but as starting point it would be very useful for me.
>>
>>
>> First off, I recommend that you buy Ronn's book. Although it deals with
C,
>> I think you will find it invaluable. I have.
>>
>> I have a simple example of calling C++ code from IDL which I put
together a
>> while back for another newsgroupie. I never heard back from him so I
don't
>> know how helpful it was but I will send it to you directly. Hopefully
it
>> will help you get started.
>>
>> -Rick
>>
>>
>
> Dear Rick
>
> I am interested in collecting these information too.
> Is it possible to save it elsewhere and to post a link for it.
>
> Reimar
>
Sure thing, Reimar.
I added a readme file and a test.pro file in hopes that this will stand on
it's own wobbly legs and made it available thru the link below. I can't
stress enough that this is a very simple example that utilizes a single C++
class to perform a simple calculation. Also, much of this will be of little
help unless you have at least some experience writing DLMs or you have
purchased Ronn's book.
The file can be found here:
http://www.acoustics.washington.edu/~towler/programs/Mgc_vec tor.zip
Enjoy!
-Rick
|
|
|
|