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

Home » Public Forums » archive » Re: more difficulties in IDL - C++ combination
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: more difficulties in IDL - C++ combination [message #35346] Mon, 09 June 2003 04:44 Go to previous message
Chris[1] is currently offline  Chris[1]
Messages: 23
Registered: January 2003
Junior Member
Hi Juan;

We use pipes regularly to link IDL and C language functions in UNIX/Linux
(It's a headache in Windoze..). I simply modify the C language functions so
that they can take their I/O through named pipes, and then read/write them
through normal file operations in IDL. To keep the IDL function running
independently of the C function, just make sure you spawn the C language
function in the background, and that you have the communication protocol
between the processes worked out. This method to spread large IDL processes
out over multiple CPU's (by breaking it into a number of smaller processes
that communicate via pipes) it works pretty efficiently.

You could also look at socket programming, which is a little more direct &
generic and has some hope of working on MS systems. I avoid it because I
don't ever want any of the people I work for thinking I might enjoy working
on a Bill Gates product :)

Cheers;

Chris
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: help with gaussfit
Next Topic: Re: help with gaussfit

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

Current Time: Sat Oct 11 07:10:42 PDT 2025

Total time taken to generate the page: 1.43606 seconds