Re: [OpenSIPStack] MessengerManager Exception
Brought to you by:
joegenbaclor
From: <jo...@pl...> - 2006-10-25 18:29:34
|
Hi Borislav, Please send me a copy of your revised MessengerManager project files. I'll take a look at it when I get a chance. Please send off list if the file is large. Lets not put the blame on Opal. I'm sure the openh323 guys would have never allowed a bug in Opal destruction if its there. ;-) Joegen ----- Original Message ----- From: "Borislav Pechenyashki" <bor...@ab...> To: <ope...@li...> Sent: Thursday, October 26, 2006 1:57 AM Subject: Re: [OpenSIPStack] MessengerManager Exception > Hi, i using MessengerManager outside the ATLSIP, because I want to make a > dll wrapper instead of activeX control. I have removed all the atl related > stuff, and I use the MessengerManager just as a descendent of OPAlManager. > I think that the exceptions I receive on destruction of the Messenger are > cause by some thread issues in the OpalManager itself. > I have found that others have also reported an exception in OpalManager's > destruction under Windows so I will experiment with some other OPAL > version. > > > > You might have already found out that ATLSIP is emant to be used as an > > ActiveX Control. MessengerManager is designed to work together with the > > upper layer COM interfaces. Using it outside of those interfaces may > > lead you to all sorts of library misbehavior. If I find time, I would > > make MessagerManager a separate library so that none ATL application may > > ling to it directly. For now, you may want to dig deeper as to the > > cause of the exception and post your results here. Maybe I or someone > > else would pitch in an advise. > > > > Joegen > > > > >-----Original Message----- > > >From: Borislav Pechenyashki [mailto:bor...@ab...] > > >Sent: Tuesday, October 24, 2006 02:25 PM > > >To: ope...@li... > > >Subject: [OpenSIPStack] MessengerManager Exception > > > > > >Hi, i am still trying ATLSIP and I noticed that an exception is thrown > > when MessengerManager is destroyed(); (The exception appers only if > > InitializeSIP is called. If i do not call InitializeSIP then there is no > > exception) > > > > > >The exception: > > >First-chance exception at 0x7c812a5b in PchOSSTest.exe: 0x0000071A: > > The remote procedure call was cancelled. > > > > > >I made a console test program ( below ): > > >when i enter '0' the sipstack starts destroying and then throws an > > exception somewhere. (The messenger class is modified a little - the > > atlsip reference and all FIRE_ events are removed) > > >I am a newbie in C++ so may be I am doing something wrong but i want > > to ask just in case if there is such a known issue. > > > > > >#include "stdafx.h" > > >#include <iostream> > > >#include "Messenger.h" > > >#include "windows.h" > > > > > >PDECLARE_PROCESS( DummyPProcess, > > PProcess,"PchOSSApi","PchOSSApi",MAJOR_VERSION,MINOR_VERSION,BUILD_TYPE,BUILD_NUMBER) > > >void DummyPProcess::Main(){}; > > >static DummyPProcess process; // active for the life of the DLL > > > > > >int _tmain(int argc, _TCHAR* argv[]) > > >{ > > > MessengerManager * manager = new MessengerManager(0, 0); > > > manager->InitializeSIP(); > > > char ch; > > > do > > > { > > > cin >> ch; > > > } while (ch != '0'); > > > > > > delete manager; > > > > > > return 0; > > >} > > > > > >----------------------------------------------------------------- > > >Survivor BG. Оцеляването продължава на www.survivor.btv.bg > > > > > > > >------------------------------------------------------------------------- > > >Using Tomcat but need to do more? Need to support web services, > > security? > > >Get stuff done quickly with pre-integrated technology to make your job > > easier > > >Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > > > >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > >_______________________________________________ > > >opensipstack-devel mailing list > > >ope...@li... > > >https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > > > ----------------------------------------------------------------- > Survivor BG. Оцеляването продължава на www.survivor.btv.bg > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |