Matox plugin / Windows messages

Posted by Joachim Wesner on
URL: http://imagej.273.s1.nabble.com/Open-images-tp3703382p3703386.html

Hi all,

for my planned project I would also need a Matrox frame grabbing plugin
(for MSWindows) (especially Meteor II and the like).

As there seems to be none available and (as I read in the group archives)
there is interest in the rest of the group too, I consider writing one.

The clean approach would be to write some native wrapper code around the
MIL and call that from ImageJ via the JNI (Java Native Interface), but this
would be
too much new stuff for me in the moment.

However, I think instead a quick but useful "hack" would be to have an
independent native "server" process that puts grabbed images in a special
directory for the plugin to read it. This would only leave the problem how
to control that server from ImageJ. This could also be done via some files,
but another,
IMHO much cleaner, option might be possible if one could send and receive
Win32 message to and from Java. Somebody knows about code to do this?

Joachim


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________