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

Home » Public Forums » archive » call_external: passing string from IDL to C
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
call_external: passing string from IDL to C [message #31967] Wed, 28 August 2002 01:41
selwyn_yee is currently offline  selwyn_yee
Messages: 1
Registered: August 2002
Junior Member
Hi,

I am trying to pass an IDL string to C using call_external. My setup
is:

IDL 5.5
Visual C++ 6.0
Windows 2000 Workstation
P4 2Ghz, 512 mb

I can't even get IDL's example to pass a string from IDL to C. I
built the DLL from \RSI\IDL55\external\C\string_array.c. Then I debug
the DLL from Visual Studio, and run string_array.pro. In debug, C
receives and IDL_STRING structure with the proper length of the string
(not counting NULL char). But you cannot see the string itself. You
see

"CXX0030: Error: expression cannot be evaluated"

Has anyone gotten the example routines to work?

Thanks,
Selwyn Yee
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: max # pixmaps in MSWin IDL 5.5?
Next Topic: Re: mesh clipping

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

Current Time: Fri Oct 10 14:03:39 PDT 2025

Total time taken to generate the page: 1.76082 seconds