On 10/06/2009 10:55 AM, Lucian Sabo wrote:
> Hello all,
> I want to create a plugin for Windows only that makes use of a windows DLL.
> The function from the DLL I need to call requires a DIB Handle as parameter
> and the original file name.
> I did not found any method to get active selection as Windows DIB HANDLE.
Should work to get the active selection using gimp_image_get_selection() 
and then create a DIB from that using pixel data fetched with e.g.
My GIMP Blog:
Gimp-developer mailing list