Hi Kornalius
You've been quiet today so I thought I'd better start a new thread
I'm trying to use G_GETPIXEL to retrieve the color on the screen but I get the following error:
Runtime error
proc:(null)
opcode: G_GETPIXEL
Access violation at 0x4ba1c
As the parameters seem to be just x,y and the return value a color I can't think what I'm doing wrong. Is there some sort of init required before calling it?
gdrawcolor$ = g_getpixel(loword(lParam$),hiword(lParam$));
You've been quiet today so I thought I'd better start a new thread
I'm trying to use G_GETPIXEL to retrieve the color on the screen but I get the following error:
Runtime error
proc:(null)
opcode: G_GETPIXEL
Access violation at 0x4ba1c
As the parameters seem to be just x,y and the return value a color I can't think what I'm doing wrong. Is there some sort of init required before calling it?
gdrawcolor$ = g_getpixel(loword(lParam$),hiword(lParam$));