Hi !:)
Question relative to Fasm147\examples\ddraw\ddraw.asm
I can not have access to the functions of GDI
For example:
To obtain the colour of a point of the surface lpDDSBack:
comcall lpDDSBack, GetDC, ?????
invoke GetPixel,??? 303,206
mov , eax
comcall lpDDSBack, ReleaseDC, ????????
One thousand attempts one thousand failures :grin:
Any help is appreciated.
Friendly....Gges
Question relative to Fasm147\examples\ddraw\ddraw.asm
I can not have access to the functions of GDI
For example:
To obtain the colour of a point of the surface lpDDSBack:
comcall lpDDSBack, GetDC, ?????
invoke GetPixel,??? 303,206
mov , eax
comcall lpDDSBack, ReleaseDC, ????????
One thousand attempts one thousand failures :grin:
Any help is appreciated.
Friendly....Gges
You might thing to use :;Lock to get a pointer to pixels into a surface, but honestly a GetDC should do also...
Are you properly saving/using the handle to surface DC returned by the GetDC ... ?
what error do you get?
Are you properly saving/using the handle to surface DC returned by the GetDC ... ?
what error do you get?