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

Home » Public Forums » archive » Matrox Framegrabber interface
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Matrox Framegrabber interface [message #29311] Mon, 11 February 2002 05:01
Gert Van de Wouwer is currently offline  Gert Van de Wouwer
Messages: 21
Registered: January 2002
Junior Member
hi,

I need to interface a camera via a Matrox framegrabber that comes with a
c-library to grab images, and I want to use these functions through a dll.
The documentation specifies that the memory in which the image is grabbed
must be in non-paged memory. To do this, I see two possibilities:
1) allocate memory in IDL, go to my dll, and specify that the grabber should
use the IDL-allocated memory. But hoz can I make sure that this memory is
non-paged?
2) go to my dll, use the Matrox lib's memory allocation function, and use
this memory in IDL. But how can I return this memory in a valid IDL member.

Off course, the easy way is: allocate IDL memory, go to my dll, allocate the
Matrox memory, grab image, copy image data to the IDL memory, destroy matrox
mem, return.... But since the acquisition is a time critical step...

any help is appreciated,

Gert



PS. I use IDL 5.4 on Win2000 and Visual studio C++ 6.0
[Message index]
 
Read Message
Previous Topic: Shared memory and IDL
Next Topic: updating object graphics?

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

Current Time: Sat Oct 11 09:46:12 PDT 2025

Total time taken to generate the page: 0.87927 seconds