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

Home » Public Forums » archive » Re: dlm question
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: dlm question [message #32922 is a reply to message #32851] Wed, 20 November 2002 19:52 Go to previous messageGo to previous message
Randy Frank is currently offline  Randy Frank
Messages: 2
Registered: April 1999
Junior Member
Eric,
Consider the IDL naming scheme for objects and consider the
mechanism for calling a C++ method from C in something like VC++
(take DirectX as an example). This should give you some idea.
Ronn is correct in that RSI has not released this information and
there is no direct way of doing this. That having been said,
with some creativity, one can write some accessor functions that
will get you 90% of the way there, along the lines of what Ronn
suggests (playing with the 'self' reference creatively) until RSI
exposes the necessary functions. I'm not sure what this buys you
over a object written as a .PRO file that happens to call out to
some 'C' functions in a DLM however (an approach that will not
break over time)...

Thanks.

ronn kling wrote:
> Hi Eric,
>
> The short answer is that RSI hasn't released the information on how to do
> this.
>
> The long answer is that with a little hacking you can figure out how to make
> a method call a DLM, but not creating an IDL object. But the "self"
> structure that gets passed to the C dlm method is not of much use. That is
> you can't use it to call other methods and so on.
>
> It has been while since I looked at this and you have made me curious again.
> I am going to look at some old code that I have and if I come up with
> anything I will let you know.
>
> -Ronn
>
>
> --
> Ronn Kling
> KRS, inc.
> email: ronn@rlkling.com
> "Application Development with IDL" programming book updated for IDL5.5!
> "Calling C from IDL, Using DLM's to extend your IDL code"!
> "Power Graphics with IDL, A Beginner's Guide to Object Graphics", NEW BOOK!
> http://www.rlkling.com/
>
>
>
> in article PsaA9.5365$Vr1.772164@news20.bellglobal.com, Eric Fournier at
> eric.fournier@videotron.ca wrote on 11/12/02 12:00 PM:
>
>
>> I have a DLM (Dynamically Loadable Modules) question.
>>
>
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AVI File Reader
Next Topic: Re: IDL vs AWK input

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

Current Time: Sat Oct 11 08:03:00 PDT 2025

Total time taken to generate the page: 3.28325 seconds