Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Wed, 2 Jul 2008 07:44:33 -0700 (PDT),    group: microsoft.public.win32.programmer.ui        back       


GetCursorPos fails with "Not enough Storage"   
::GetCursorPos failed with rc = 8: Not enough storage is available to
process this command in the following code:

POINT pt = {0};
if (!::GetCursorPos(&pt))
{
  //make a stink ...
}

Seriously though, how much storage is required to figure out where the
mouse cursor is located :-)

I Googled but could not find any other instances of this error.
Client is running Terminal Services.  I think my solution will be to
ignore any errors from this API, but I was wondering if anybody could
provide some insight as to why this error is occurring.

Thanks,

--Chris
date: Wed, 2 Jul 2008 07:44:33 -0700 (PDT)   author:   unknown

Re: GetCursorPos fails with "Not enough Storage"   
That error code is often used when a more appropriate code is not available 
and they don't bother to create a new error code.


 wrote in message 
news:e2b0c243-909e-4bd1-92ce-f40b65d99fc2@f36g2000hsa.googlegroups.com...
> ::GetCursorPos failed with rc = 8: Not enough storage is available to
> process this command in the following code:
>
> POINT pt = {0};
> if (!::GetCursorPos(&pt))
> {
>  //make a stink ...
> }
>
> Seriously though, how much storage is required to figure out where the
> mouse cursor is located :-)
>
> I Googled but could not find any other instances of this error.
> Client is running Terminal Services.  I think my solution will be to
> ignore any errors from this API, but I was wondering if anybody could
> provide some insight as to why this error is occurring.
>
> Thanks,
>
> --Chris
>
>
date: Wed, 2 Jul 2008 11:48:09 -0700   author:   Sam Hobbs _change_social_to_socal

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us