return PServiceProcess::OnStart(); I am getting error on this line that this function is not found and when i went to svcproc.cxx there all functions r implemented except onstart ...so what to do plz tell me. ----- Original Message ----- From: "Cristian Bullokles" <cbullokles@xxxxxxxxxxxxxx> To: "Rafat Subhan" <rafat@xxxxxxxxxxxxxxx> Sent: May 31, 2004 6:09 PM Subject: Re: [Openh323gk-developer] GnuGK as service > i use visual c++, not .net > in visual c++ i need to create a new project win32 app not a win32 > console app. > > Regards > Cristian > > Rafat Subhan wrote: > > I got these linker errors while compiling with pserviceprocess under windows > > in .NET > > i include > > #include <ptlib/svcproc.h> > > > > in gk.h ...what is problem? > > > > LINK : error LNK2020: unresolved token (0A00001B) > > PPlugin_PVideoInputDevice_VideoForWindows_Registration_Instance > > > > LINK : error LNK2020: unresolved token (0A00001E) PThread.__dtor > > > > LINK : error LNK2020: unresolved token (0A000022) PProcess._main > > > > LINK : error LNK2020: unresolved token (0A000023) PProcess.__dtor > > > > LINK : error LNK2020: unresolved token (0A000024) PObject.GetClass > > > > LINK : error LNK2020: unresolved token (0A000025) PObject.IsDescendant > > > > LINK : error LNK2020: unresolved token (0A000027) PContainer.__dtor > > > > LINK : error LNK2020: unresolved token (0A000029) PContainer.MakeUnique > > > > LINK : error LNK2020: unresolved token (0A00002A) PContainer.AssignContents > > > > LINK : error LNK2020: unresolved token (0A00004A) > > PPlugin_PVideoInputDevice_FakeVideo_Registration_Instance > > > > LINK : error LNK2020: unresolved token (0A00005A) > > PPlugin_PSoundChannel_WindowsMultimedia_Registration_Instance > > > > LINK : error LNK2020: unresolved token (0A00006E) PString.MakeUnique > > > > LINK : error LNK2020: unresolved token (0A000076) > > PPlugin_PVideoOutputDevice_NULLOutput_Registration_Instance > > > > LINK : error LNK2020: unresolved token (0A000085) PSemaphore.__dtor > > > > LINK : error LNK2020: unresolved token (0A00008F) PWaitAndSignal.__dtor > > > > LINK : error LNK2020: unresolved token (0A000095) PContainer.GetSize > > > > LINK : error LNK2020: unresolved token (0A0000D4) PArrayObjects.GetSize > > > > LINK : error LNK2020: unresolved token (0A0000D8) PTrace.End > > > > LINK : error LNK2020: unresolved token (0A0000DB) PIPSocket.Address.__ctor > > > > LINK : error LNK2020: unresolved token (0A0000EA) PString.IsEmpty > > > > LINK : error LNK2020: unresolved token (0A00010A) > > PAbstractDictionary.SetDataAt > > > > LINK : error LNK2020: unresolved token (0A00010F) PArrayObjects.SetSize > > > > LINK : error LNK2020: unresolved token (0A00011A) PRegularExpression.__dtor > > > > LINK : error LNK2020: unresolved token (0A00011B) PASN_Choice.__dtor > > > > LINK : error LNK2020: unresolved token (0A000150) PAbstractList.Append > > > > LINK : error LNK2020: unresolved token (0A000157) > > ?SetTag@PASN_Choice@@$$FUAEXIW4TagClass@PASN_Object@@@Z > > > > LINK : error LNK2020: unresolved token (0A000187) > > ?GetErrorText@PChannel@@$$FUBE?AVPString@@W4ErrorGroup@1@@Z > > > > LINK : error LNK2020: unresolved token (0A00018A) PSocket.Read > > > > LINK : error LNK2020: unresolved token (0A00018D) > > ?Listen@PTCPSocket@@$$FUAEHABVAddress@PIPSocket@@IGW4Reusability@PSocket@@@Z > > > > LINK : error LNK2020: unresolved token (0A00018E) PTCPSocket.Accept > > > > LINK : error LNK2020: unresolved token (0A0001A4) PThread.Resume > > > > LINK : error LNK2020: unresolved token (0A0001F2) PContainer.IsEmpty > > > > LINK : error LNK2020: unresolved token (0A0001FE) PIPSocket.Connect > > > > LINK : error LNK2020: unresolved token (0A000205) > > ?Listen@PTCPSocket@@$$FUAEHIGW4Reusability@PSocket@@@Z > > > > LINK : error LNK2020: unresolved token (0A000207) PASN_Choice.Decode > > > > LINK : error LNK2020: unresolved token (0A000208) PASN_Choice.Encode > > > > LINK : error LNK2020: unresolved token (0A000236) PSocket.Close > > > > LINK : error LNK2020: unresolved token (0A000238) > > ?Listen@PIPSocket@@$$FUAEHABVAddress@1@IGW4Reusability@PSocket@@@Z > > > > LINK : error LNK2020: unresolved token (0A00027D) PCollection.RemoveAll > > > > LINK : fatal error LNK1120: 39 unresolved externals > > > > ----- Original Message ----- > > From: "Cristian Bullokles" <cbullokles@xxxxxxxxxxxxxx> > > To: "Rafat Subhan" <rafat@xxxxxxxxxxxxxxx> > > Cc: <openh323gk-developer@xxxxxxxxxxxxxxxxxxxxx> > > Sent: May 31, 2004 5:38 PM > > Subject: Re: [Openh323gk-developer] GnuGK as service > > > > > > > >>PServiceProcess > >> > >>Rafat Subhan wrote: > >> > >>>But what class I do need in case I dont want it from HTTPProcess,I do > > > > need > > > >>>simple service running on PC. not accessible from any browser. > >>>what class of pwlib i do need instead of PHTTPServiceProcess > >>>Thanks > >>>----- Original Message ----- > >>>From: "Cristian Bullokles" <cbullokles@xxxxxxxxxxxxxx> > >>>To: "Rafat Subhan" <rafat@xxxxxxxxxxxxxxx> > >>>Sent: April 12, 2004 8:16 PM > >>>Subject: Re: [Openh323gk-developer] GnuGK as service > >>> > >>> > >>> > >>> > >>>>Here is attached. > >>>> > >>>> > >>>>On Mon, 5 Apr 2004 11:02:51 +0500 > >>>>"Rafat Subhan" <rafat@xxxxxxxxxxxxxxx> wrote: > >>>> > >>>> > >>>> > >>>>>Hello > >>>>>Can u provide me the code if yr service is successfully running > >>>>> > >>>>>----- Original Message ----- > >>>>>From: "Cristian Bullokles" <cbullokles@xxxxxxxxxxxxxx> > >>>>>To: <openh323gk-developer@xxxxxxxxxxxxxxxxxxxxx> > >>>>>Cc: <openh323@xxxxxxxxxxxx> > >>>>>Sent: Thursday, February 26, 2004 11:13 PM > >>>>>Subject: [Openh323gk-developer] GnuGK as service > >>>>> > >>>>> > >>>>> > >>>>> > >>>>>>Hi people, > >>>>>>I do a little modification to GnuGK code to run as a > >>>>>>Windows/Unix Service. > >>>>>>All work fine but... > >>>>>>When i trie to stop service a aplication error window apears > >>>>>>with a message like this: Memory can't do "read". > >>>>>>The OnStop Metod is too simple like this: > >>>>>>void Gatekeeper::OnStop() > >>>>>>{ > >>>>>>PWaitAndSignal shutdown(ShutdownMutex); > >>>>>>ExitFlag = true; > >>>>>>} > >>>>>>I trie using the ShutdownHandler and dont work. > >>>>>>Any idea? > >>>>>> > >>>>>>Regards > >>>>>>Cristian > >>>>>> > >>>>>> > >>>>>> > >>>>>>------------------------------------------------------- > >>>>>>SF.Net is sponsored by: Speed Start Your Linux Apps Now. > >>>>>>Build and deploy apps & Web services for Linux with > >>>>>>a free DVD software kit from IBM. Click Now! > >>>>>>http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > >>>>>>_______________________________________________ > >>>>>>List: Openh323gk-developer@xxxxxxxxxxxxxxxxxxxxx > >>>>>>Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=3079 > >>>>>>Homepage: http://www.gnugk.org/ > >>>>>> > >>>>> > >>>>> > >> > > > > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________________ List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549 Homepage: http://www.gnugk.org/