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

Home » Public Forums » archive » Re: IDL and C-
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: IDL and C- [message #39418 is a reply to message #39413] Wed, 19 May 2004 23:55 Go to previous messageGo to previous message
MKatz843 is currently offline  MKatz843
Messages: 98
Registered: March 2002
Member
This is just a guess, but you might try the following.

;--- declare image as a pointer to an array of byte type
image = ptr_new(bytarr(640,480))
image = call_external("C:\11ryan\temp\Debug\testDLL.dll","testDLL ")
window, xsize=640, ysize=480 ;--- open a window for display
tvscl, *image ;--- scale and display the contents of the image pointer

after the call_external, you might also issue
print, image
If it returns something like this <PtrHeapVar1> then it's certainly a pointer.
M. Katz
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Smoothing Data with optimal wiener filter
Next Topic: Re: will pay

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

Current Time: Sun Oct 12 14:45:45 PDT 2025

Total time taken to generate the page: 2.63761 seconds