This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -mwindows and hour glass


Ummm, Ok, thanks for the response, but the program is...

<bof>
#include <stdio.h>

int main( int argc, char *argv[] )
{
   sleep( 5 );
}
<eof>


# gcc t.c -o t -Wl,--subsystem,windows

Starting this from explorer results in a 5 second busy hour glass and (of
course), explorer is unresponsive until the program ends.

Thanks


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christopher Wingert wrote:
> I am trying to write a small program that does not pop up a window.  I
> found the -mwindow option.  It does not pop up a window, but while the
> program is running explorer shows the hour glass busy cursor until the
> application ends.  I am assuming that explorer is waiting for a window to
> appear.  Is there a way to signal explorer that my program is running?
>
> Thanks

no its about what resources you are accessing. system resources provoke
a (in my knowledge) an arrow+hourglass and file resources provoke an
hourglass. I know for a fact its about what you are doing.
- --
Just a Thought
Morgan Gangwere

For those who want my PGP key:
http://pengunassasin.is-a-geek.com/pgpKey.html

******* Wisdom for the day *******
* Dont rawquote - it gives       *
*          spammers free bait!   *
**********************************
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGdXWbCF9T/dUsmAgRAu8PAJ9mAdXJb7HVSzFyOverk8MEyUrgaACg4X7g
w8za1PrSdxV7Q5MaQ5F0UOk=
=xTi+
-----END PGP SIGNATURE-----




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]