Re: Using GDI Plus with Win32Lib
- Posted by buzzo Jan 09, 2012
- 1263 views
Matt,
This is from GDIPLUS ...
constant xGdipCreateFromHWND=lF(gdiplus,"GdipCreateFromHWND",{CP,CP},CL) global function GdipCreateFromHWND(atom hwnd,atom pp_graphics) --(HWND hwnd,GpGraphics **graphics) if gdiplus>0 then return c_func(xGdipCreateFromHWND,{hwnd,pp_graphics}) else return 0 end if end function
This is my code...
atom ppGraphics,ppImage,pGraphics atom wH wH=getHandle(win) -- no image status=GdipCreateFromHWND(wH,ppGraphics)
Atoms are atoms where they should be.. If you have no idea why this fails, that's OK... Maybe someone else will have a idea why atoms are not atoms?????? I'll be checking back from time to time..
Buzzo