I have a small program that read from clipboard buffer to a graphic window, code as below.
LOCAL GraphicWindow AS DWORD
LOCAL GraphicHandle AS DWORD , x AS LONG
CLIPBOARD GET BITMAP GraphicHandle, x
GRAPHIC WINDOW "Graphic window", 0, 0 , 800, 600 TO GraphicWindow
GRAPHIC ATTACH GraphicWindow, 0
GRAPHIC COPY GraphicHandle, 0
SLEEP 5000
The program work fine in debug mode, but the graphic window shows nothing when it is run in compiled mode.
Help is deeply appreciated !
Regards.
Kunhock
LOCAL GraphicWindow AS DWORD
LOCAL GraphicHandle AS DWORD , x AS LONG
CLIPBOARD GET BITMAP GraphicHandle, x
GRAPHIC WINDOW "Graphic window", 0, 0 , 800, 600 TO GraphicWindow
GRAPHIC ATTACH GraphicWindow, 0
GRAPHIC COPY GraphicHandle, 0
SLEEP 5000
The program work fine in debug mode, but the graphic window shows nothing when it is run in compiled mode.
Help is deeply appreciated !
Regards.
Kunhock
Comment