List Info

Thread: funny error




funny error
user name
2007-10-17 03:57:03
Hi Robin,

I just accidentally stumbled on a funny error in The Demo.

If you filter the demo tree and then select from the menu a demo that is not in the filtered list you get the following:

Debug: ....srcmswtreectrl.cpp(801): 'TreeView_GetItem' failed with error 0x00000000 (the operation completed successfully.)

I guess it is only on the Windows version (it looks too much like Microsoft humor)

Peter
--
There is NO FATE, we are the creators.
Re: funny error
country flaguser name
United States
2007-10-18 19:14:28
Peter Damoc wrote:
> Hi Robin,
> 
> I just accidentally stumbled on a funny error in The
Demo.
> 
> If you filter the demo tree and then select from the
menu a demo that is 
> not in the filtered list you get the following:
> 
> Debug: ....srcmswtreectrl.cpp(801):
'TreeView_GetItem' failed with 
> error 0x00000000 (the operation completed
successfully.)
> 
> I guess it is only on the Windows version (it looks too
much like 
> Microsoft humor) 

Yep.  Basically there was an error indicated by the API but
then when 
the wxLogError was called to tell you about it the
GetLastError() API 
doesn't know about it and gives the message you see above. 
I've seen 
this happen in a few places...


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java
give you jitters?  Relax with wxPython!


------------------------------------------------------------
---------
To unsubscribe, e-mail: wxPython-dev-unsubscribelists.wxwidgets.org
For additional commands, e-mail: wxPython-dev-helplists.wxwidgets.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )