Paul,
You are right. There has been an older DLL in the path which I've not detected so far. Thank you 😄
Now it's working without an error message but the behaviour is still a bit confusing because it's different for %gi versus %bm bitmap. Using %bm I can close the window with a mouse click or ALT+F4, with %gi only ALT+F4 works. I'll do some further tests.
Wosl
Here is a snapshot of sample code ...
...
i=winio@ ('%ww[no_border,no_caption,no_frame,casts_shadow]&')
i=winio@ ('%^gi[CXM_logo]',CloseCopyRight)
cc i=winio@ ('%^bm[CXM_logo]',CloseCopyRight)
Init=1
return
end
integer function CloseCopyRight ()
CloseCopyRight=0
return
end
resource file:
CXM_logo GIF rc\\Cxm.gif
CXM_logo BITMAP rc\\Cxm.bmp