hi,

I have two screens and i need to copy my mouse to the other screen.
I tried to use bitblt but this function copy the screen and doesn't copy the mouse.

can any body help me just to get the bitmap of the mouse and then i can use bitblt ?

Note: I tried to use GDI+ but when I try to compile I get many errors like:

c:\program files\microsoft visual studio 8\vc\platformsdk\include\GdiplusImaging.h(67) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\program files\microsoft visual studio 8\vc\platformsdk\include\GdiplusImaging.h(67) : error C2440: 'initializing' : cannot convert from 'const char [37]' to 'int'
There is no context in which this conversion is possible
c:\program files\microsoft visual studio 8\vc\platformsdk\include\GdiplusImaging.h(67) : error C2146: syntax error : missing ';' before identifier 'IImageBytes'
c:\program files\microsoft visual studio 8\vc\platformsdk\include\GdiplusImaging.h(67) : error C2470: 'IImageBytes' : looks like a function definition, but there is no parameter list; skipping apparent body
c:\program files\microsoft visual studio 8\vc\platformsdk\include\GdiplusImaging.h(67) : error C2059: syntax error : 'public'
c:\program files\microsoft visual studio 8\vc\platformsdk\include\GdiplusImaging.h(246) : error C2146: syntax error : missing ';' before identifier 'id'
.....

and i don't know how to resolve this problem. can you please help me?