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

Home » Public Forums » archive » C++ in IDL
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: C++ in IDL [message #44202 is a reply to message #29423] Tue, 31 May 2005 09:35 Go to previous messageGo to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
Tim-Oliver Husser wrote:

> this is my first posting here, so let me just say hello. :-)

Well hello there.

> I've got some small problem with IDL 6.0 and it would give me great
> pleasure, if someone could help me with that.
> There is some heavy computation I have to do within IDL (running a
> genetic algorithm, so it's really pure number crunching) and I was
> thinking about porting that algorithm to C/C++ to call it via
> call_external. I assume, that the code would be much faster in C/C++,
> wouldn't it?

It depends, but most likely yes. I would write a dlm, not use call
external.


> Has anyone ever tried to do something like this and could help me?

Sure. I wasn't sure I could write a C++ dlm so I wrote a simple test
program, got that to work, and went from there. I can't comment on your
linux particulars, but I can offer up this simple example which may or
may not be of help. At any rate, this can be done so push on. The
example files:

http://www.acoustics.washington.edu/~towler/programs/Mgc_vec tor.zip

Also, since I wrote this Ronn Kling has updated his book "Calling C from
IDL" to include a chapter on calling C++. I would highly recommend
picking this book up from his website http://www.kilvarock.com.


-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Job announcement
Next Topic: Re: LIDAR .las format

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

Current Time: Fri Oct 10 02:17:27 PDT 2025

Total time taken to generate the page: 0.72205 seconds