by Antonio Linares » Wed Jan 30, 2008 9:38 am
It looks as a recent change in Windows! (or we never considered that a main window or dialog has to be created before)
If you try this without creating a window, Windows is returning zero:
MsgInfo( GetActiveWindow() )
In order to have GetTasks() running fine, call it from a running window:
DEFINE BUTTON OF oBar ACTION MsgInfo( Len( GetTasks() ) )