Hi Mirek,
I have a little idea of what can append:
I think your application uses 2 different forms managed as 2 different threads by OpenEdge.
Basically, if you want to have a communication between an 2 GdPicture objects, these 2 objects must be owned by the same thread.
In your code I see two object references:
chCtrlFrameGdI & chCtrlFrameGdV. I suppose these objects are windows forms ?
i think you shuld be able to implement an Imaging object owned by the same "container" as the GdViewer object: chCtrlFrameGdV.
Therefore, your code should look like to something like that:
- Code: Select all
chCtrlFrameGdV:Imaging:SetNativeImage(chCtrlFrameGdV:GdViewer:GetNativeImage).
Could you try this kind of implementation ?
Kind regards,
Loïc