Hello,

I don't see anything strange in this code.  Does MyServer crash immediately
when it is started or later during its execution?

Giuseppe

P.S.
Please CC the [email protected] mailing list in your replies so other
people can join the discussion and eventually help.


On Sun, Nov 2, 2008 at 12:40 AM, Alan Coler <[EMAIL PROTECTED]> wrote:

>  Hi thanks for all the repliles.
> I will try to read all of them.
> Yes here is how I am spawning MyServer in my program.
>
>   //Start Broadcasting
>   STARTUPINFO         siStartupInfo;
>   memset(&siStartupInfo, 0, sizeof(siStartupInfo));
>   memset(&m_piProcessInfo, 0, sizeof(m_piProcessInfo));
>   siStartupInfo.cb = sizeof(siStartupInfo);
>   if(CreateProcess(m_pApp->m_csAppDirectory + "myserver.exe", //
> Application name
>        NULL,             // Application arguments
>        0,
>        0,
>        FALSE,
>        CREATE_NO_WINDOW,
>        0,
>        m_pApp->m_csAppDirectory,                          // Working
> directory
>        &siStartupInfo,
>        &m_piProcessInfo) == FALSE){}
>
> > From: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> > Subject: Re: [bug-myserver] Problem with myserver
> > Date: Thu, 30 Oct 2008 22:17:50 +0100
> >
> > Alan Coler <[EMAIL PROTECTED]> writes:
> >
> > > My use is sort of complicated to explain.
> > > I have been using it with my program I wrote, so yes it spawns the
> myserver
> > > from within it.
> > > My program is a remote webcam surveilance program.
> >
> > Can you post here the code that spawns the process? I guess you are
> > using the CreateProcess function under Windows, right?
> >
> >
> > > If you want the webcam program I can give you the download and a free
> license
> > > code if you want to test it and see how it works.
> >
> > If the code is GPL'ed or any other Free license then I will try to test
> > it.
> > If you are able to isolate the piece that makes MyServer crash please do
> > it, it will save us a lot of time; especially because I am quite sure
> > that everybody here is trying to limit his/her time under Windows to the
> > minimum necessary.
> > A personal advise that I really feel to give, have you ever thought to
> > leave it in favour of GNU/Linux? :) I don't know of any program like
> > yours under GNU/Linux (though I never looked in detail), it can be very
> > interesting to have one.
> >
> > Thanks,
> > Giuseppe
> >
> > >> Date: Thu, 30 Oct 2008 15:06:45 +0100
> > >> From: [EMAIL PROTECTED]
> > >> To: [EMAIL PROTECTED]
> > >> CC: [email protected]
> > >> Subject: Re: [bug-myserver] Problem with myserver
> > >>
> > >> Hello,
> > >>
> > >> as probably you already know, MyServer has recently became an official
> > >> GNU project and we working a lot to make it follows the GNU Project
> > >> standards. This is the reason we are delaying the next release.
> > >>
> > >> To fix a bug I should be able to reproduce it, can you please give me
> > >> more details about the crash? When does it happen? What do you do to
> > >> trigger it?
> > >> Strange memory locations numbers are not very useful, at least they
> are
> > >> not very useful without a description of what was happening.
> > >>
> > >> You said, "...when I am running it with my program.", are you using
> any
> > >> sort of dynamic web page or have you simply spawned the MyServer
> process
> > >> from another one?
> > >>
> > >> Giuseppe
>
>
> ------------------------------
> Stay organized with simple drag and drop from Windows Live Hotmail. Try 
> it<http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008>
>

Reply via email to