PDA

View Full Version : using DFK 21F04 in Delphi



hadipardis
March 6, 2006, 06:22:22
Hi. I want to use a DFK 21F04 camera in Delphi. I installed The Imaging Control ActiveX in Delphi. I can capture images with it but unfortunately, I have faced with some serious problems. My first problem is to assign the current picture (which is already in the buffer ring) to a standard image control in Delphi (TImage). To do so,I tried to run the following code:
-----------------------------------------------------------
var Picture1:TImage;
buffer:ImageBuffer;
[...some code...]
Picture1.Picture.Assign(buffer.Picture);
-----------------------------------------------------------
but the compiler doesn't accept the above code. Because the type of buffer.picture and Picture1.Picture is not the same. What is the problem and how I can remedy it? thanks.

Stefan Geissler
March 6, 2006, 13:34:36
Hello,

We already handled this problem via direct support.