I have an app that runs as the shell program in an XPe system (basically my application has replaced the windows explorer.) At the very beginning of this app, I create a folder which I need to share to a network. So I create the folder and use net share to share it. OK no problem right?. wrong! The server service takes about 30-40 second before it starts, and if I try to use net share before then, I can't see the shared folder on a remote PC (appearently the net share fails). If however I put a delay of 40 second at the beginning of my app, and then create the folder and share it, it works.
Question(s)-
1. Is it normal that the network connection take 30-40 second before establishing?
2. Is there a way I can know if the connection is started?
3. Any comments, questions?
thanks for your time
kevin