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

Home » Public Forums » archive » make_dll and call_external woes
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: make_dll and call_external woes [message #70931 is a reply to message #70567] Fri, 21 May 2010 09:26 Go to previous messageGo to previous message
James[2] is currently offline  James[2]
Messages: 44
Registered: November 2009
Member
Just an update for anyone who reads this: I figured out my error(s).
The /ALL_VALUE tag was incorrect: IDL automatically passes arrays to C
as pointers, so e.g. an IDL integer array shows up as a short int * in
c. It's not necessary to make pointers of your IDL data before
passing it to C. But the main issue was that I didn't call my
function with the /AUTO_GLUE keyword. I was under the impression that
MAKE_DLL inserted glue code in the DLL for you, but /AUTO_GLUE is
still necessary.

- James
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: READS: End of input data encountered
Next Topic: Problem using the method List->ToArray()

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

Current Time: Sat Oct 11 05:02:09 PDT 2025

Total time taken to generate the page: 0.40421 seconds