Thread: Re: [OpenSIPStack] [ATLSIP] New compiling error
Brought to you by:
joegenbaclor
From: sebastian p. <seb...@gm...> - 2007-12-29 16:54:45
|
Hi, well this one has appeared with the last version that i downloaded trough CVS. I'm using Visual Studio 2005 in Windows XP. I don't know if you have reproduced it. it's in ATLSIPPS project and it says: *Error: MIDL will not generate DLLDATA.C unless you have at least 1 interface in the main project.* Any workaround? Thanks in advance and Happy New Year -Sebasti=E1n- |
From: <jo...@op...> - 2007-12-30 05:13:21
|
hi sebastian, atlsipps is not needed by atlsip as far as i know so you may safely=20 ignore this compile error. that is as long as the atlsip main dll=20 compiled properly. let me know if you prove me wrong joegen sebastian pastor wrote: > Hi, > > well this one has appeared with the last version that i downloaded trou= gh > CVS. I'm using Visual Studio 2005 in Windows XP. > I don't know if you have reproduced it. > > it's in ATLSIPPS project and it says: > > *Error: MIDL will not generate DLLDATA.C unless you have at least 1 > interface in the main project.* > > Any workaround? > > > Thanks in advance and Happy New Year > > -Sebasti=E1n- > -----------------------------------------------------------------------= -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > =20 |
From: sebastian p. <seb...@gm...> - 2007-12-30 15:30:43
|
Ok. Thanks Joegen. I also thought that way so i disabled that project in Build settings of 'ATLSIP' Solution. But as long as i remember, that way it didn't generate the necessary files for using OSSPhone. Maybe it was my fault, i don't remember wether i chose Build again (from the beginning Ctrl+Alt+F7) or jus= t normal Build (F7)... Anyway, it doesn't matter. Yesterday night after some reattempts and withou= t doing (apparently) anything it worked. BTW, which ones from the files generated after building ATLSIP project are really used by OSSPhone (for the attribute called ATLSIP)? Thanks and Happy New Year, -Sebasti=E1n- 2007/12/30, jo...@op... <joe...@gm...>: > > hi sebastian, > > atlsipps is not needed by atlsip as far as i know so you may safely > ignore this compile error. that is as long as the atlsip main dll > compiled properly. let me know if you prove me wrong > > joegen > > > sebastian pastor wrote: > > Hi, > > > > well this one has appeared with the last version that i downloaded > trough > > CVS. I'm using Visual Studio 2005 in Windows XP. > > I don't know if you have reproduced it. > > > > it's in ATLSIPPS project and it says: > > > > *Error: MIDL will not generate DLLDATA.C unless you have at least 1 > > interface in the main project.* > > > > Any workaround? > > > > > > Thanks in advance and Happy New Year > > > > -Sebasti=E1n- > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > opensipstack-devel mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |
From: Joegen E. B. <joe...@gm...> - 2007-12-30 15:44:02
|
Ilian or a member of his team should be able to answer you more reliably = as to which object files are needed. I have detached myself from ATLSIP = for a long time and currently do not have the build environment to look=20 at. I'll leave the liberty of answering to Ilian. sebastian pastor wrote: > Ok. Thanks Joegen. > > I also thought that way so i disabled that project in Build settings of= > 'ATLSIP' Solution. But as long as i remember, that way it didn't genera= te > the necessary files for using OSSPhone. Maybe it was my fault, i don't > remember wether i chose Build again (from the beginning Ctrl+Alt+F7) or= just > normal Build (F7)... > > Anyway, it doesn't matter. Yesterday night after some reattempts and wi= thout > doing (apparently) anything it worked. > BTW, which ones from the files generated after building ATLSIP project = are > really used by OSSPhone (for the attribute called ATLSIP)? > > Thanks and Happy New Year, > > -Sebasti=E1n- > > 2007/12/30, jo...@op... <joe...@gm...>: > =20 >> hi sebastian, >> >> atlsipps is not needed by atlsip as far as i know so you may safely >> ignore this compile error. that is as long as the atlsip main dll >> compiled properly. let me know if you prove me wrong >> >> joegen >> >> >> sebastian pastor wrote: >> =20 >>> Hi, >>> >>> well this one has appeared with the last version that i downloaded >>> =20 >> trough >> =20 >>> CVS. I'm using Visual Studio 2005 in Windows XP. >>> I don't know if you have reproduced it. >>> >>> it's in ATLSIPPS project and it says: >>> >>> *Error: MIDL will not generate DLLDATA.C unless you have at least 1 >>> interface in the main project.* >>> >>> Any workaround? >>> >>> >>> Thanks in advance and Happy New Year >>> >>> -Sebasti=E1n- >>> >>> =20 >> ----------------------------------------------------------------------= --- >> =20 >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >>> =20 >> >> ----------------------------------------------------------------------= --- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> =20 > -----------------------------------------------------------------------= -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > =20 |
From: sebastian p. <seb...@gm...> - 2007-12-31 08:07:37
|
OK, i'd like to know it because i'm trying to modify something in ATLSIP bu= t i cannot then use it in OSSPhone. I.e: I added an *empty funtion* just for testing. First in OpenSipStackctl.= h, then in OpenSipStackCtl.cpp, then in ATLSIP.idl (contained in IDispatch wrapping for IOpenSipStackCtl inteface) and it is built ok (both release an= d debug). But then whenever i try to build OpenOSSPhone calling to that function in Form1.h it tells me that is not a function belonging to ATLSIP library. What am i doing wrong? 2007/12/30, Joegen E. Baclor <joe...@gm...>: > > Ilian or a member of his team should be able to answer you more reliably > as to which object files are needed. I have detached myself from ATLSIP > for a long time and currently do not have the build environment to look > at. I'll leave the liberty of answering to Ilian. > > sebastian pastor wrote: > > Ok. Thanks Joegen. > > > > I also thought that way so i disabled that project in Build settings of > > 'ATLSIP' Solution. But as long as i remember, that way it didn't > generate > > the necessary files for using OSSPhone. Maybe it was my fault, i don't > > remember wether i chose Build again (from the beginning Ctrl+Alt+F7) or > just > > normal Build (F7)... > > > > Anyway, it doesn't matter. Yesterday night after some reattempts and > without > > doing (apparently) anything it worked. > > BTW, which ones from the files generated after building ATLSIP project > are > > really used by OSSPhone (for the attribute called ATLSIP)? > > > > Thanks and Happy New Year, > > > > -Sebasti=E1n- > > > > 2007/12/30, jo...@op... <joe...@gm...>: > > > >> hi sebastian, > >> > >> atlsipps is not needed by atlsip as far as i know so you may safely > >> ignore this compile error. that is as long as the atlsip main dll > >> compiled properly. let me know if you prove me wrong > >> > >> joegen > >> > >> > >> sebastian pastor wrote: > >> > >>> Hi, > >>> > >>> well this one has appeared with the last version that i downloaded > >>> > >> trough > >> > >>> CVS. I'm using Visual Studio 2005 in Windows XP. > >>> I don't know if you have reproduced it. > >>> > >>> it's in ATLSIPPS project and it says: > >>> > >>> *Error: MIDL will not generate DLLDATA.C unless you have at least 1 > >>> interface in the main project.* > >>> > >>> Any workaround? > >>> > >>> > >>> Thanks in advance and Happy New Year > >>> > >>> -Sebasti=E1n- > >>> > >>> > >> > ------------------------------------------------------------------------- > >> > >>> This SF.net email is sponsored by: Microsoft > >>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>> _______________________________________________ > >>> opensipstack-devel mailing list > >>> ope...@li... > >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >>> > >>> > >>> > >>> > >>> > >> > >> > ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2005. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> _______________________________________________ > >> opensipstack-devel mailing list > >> ope...@li... > >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >> > >> > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > opensipstack-devel mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |
From: Ilian J. C. P. <ip...@so...> - 2008-01-03 02:49:33
|
Hi Sebastian, Sorry for the late reply. I was out on vacation... sebastian pastor wrote: > OK, i'd like to know it because i'm trying to modify something in ATLSIP but > i cannot then use it in OSSPhone. > > I.e: I added an *empty funtion* just for testing. First in OpenSipStackctl.h, > then in OpenSipStackCtl.cpp, then in ATLSIP.idl (contained in IDispatch > wrapping for IOpenSipStackCtl inteface) and it is built ok (both release and > debug). > But then whenever i try to build OpenOSSPhone calling to that function in > Form1.h it tells me that is not a function belonging to ATLSIP library. > This could be mean that the updated DLL was not registered. Try manually forcing this by: 1. In VS 2005, go to Tools -> ActiveX Control Test Container... 2. Select Files -> Register Controls 3. Select ATLSIP, then choose Unregister. 4. Click Register then choose your ATLSIP.dll build. Regards, Ilian > What am i doing wrong? > > > > 2007/12/30, Joegen E. Baclor <joe...@gm...>: > >> Ilian or a member of his team should be able to answer you more reliably >> as to which object files are needed. I have detached myself from ATLSIP >> for a long time and currently do not have the build environment to look >> at. I'll leave the liberty of answering to Ilian. >> >> sebastian pastor wrote: >> >>> Ok. Thanks Joegen. >>> >>> I also thought that way so i disabled that project in Build settings of >>> 'ATLSIP' Solution. But as long as i remember, that way it didn't >>> >> generate >> >>> the necessary files for using OSSPhone. Maybe it was my fault, i don't >>> remember wether i chose Build again (from the beginning Ctrl+Alt+F7) or >>> >> just >> >>> normal Build (F7)... >>> >>> Anyway, it doesn't matter. Yesterday night after some reattempts and >>> >> without >> >>> doing (apparently) anything it worked. >>> BTW, which ones from the files generated after building ATLSIP project >>> >> are >> >>> really used by OSSPhone (for the attribute called ATLSIP)? >>> >>> Thanks and Happy New Year, >>> >>> -Sebastián- >>> >>> 2007/12/30, jo...@op... <joe...@gm...>: >>> >>> >>>> hi sebastian, >>>> >>>> atlsipps is not needed by atlsip as far as i know so you may safely >>>> ignore this compile error. that is as long as the atlsip main dll >>>> compiled properly. let me know if you prove me wrong >>>> >>>> joegen >>>> >>>> >>>> sebastian pastor wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> well this one has appeared with the last version that i downloaded >>>>> >>>>> >>>> trough >>>> >>>> >>>>> CVS. I'm using Visual Studio 2005 in Windows XP. >>>>> I don't know if you have reproduced it. >>>>> >>>>> it's in ATLSIPPS project and it says: >>>>> >>>>> *Error: MIDL will not generate DLLDATA.C unless you have at least 1 >>>>> interface in the main project.* >>>>> >>>>> Any workaround? >>>>> >>>>> >>>>> Thanks in advance and Happy New Year >>>>> >>>>> -Sebastián- >>>>> >>>>> >>>>> >> ------------------------------------------------------------------------- >> >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> opensipstack-devel mailing list >>>>> ope...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >> ------------------------------------------------------------------------- >> >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> opensipstack-devel mailing list >>>> ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>> >>>> >>>> >> ------------------------------------------------------------------------- >> >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: Andre S. <eds...@ya...> - 2008-01-03 03:07:13
|
Sebastian, You could also try double click on ATLSIP.DLL and will ask for application to run for it. Choose at C:\WINDOWS\SYSTEM32\regsvr32.exe "Ilian Jeri C. Pinzon" <ip...@so...> wrote: Hi Sebastian, Sorry for the late reply. I was out on vacation... sebastian pastor wrote: > OK, i'd like to know it because i'm trying to modify something in ATLSIP but > i cannot then use it in OSSPhone. > > I.e: I added an *empty funtion* just for testing. First in OpenSipStackctl.h, > then in OpenSipStackCtl.cpp, then in ATLSIP.idl (contained in IDispatch > wrapping for IOpenSipStackCtl inteface) and it is built ok (both release and > debug). > But then whenever i try to build OpenOSSPhone calling to that function in > Form1.h it tells me that is not a function belonging to ATLSIP library. > This could be mean that the updated DLL was not registered. Try manually forcing this by: 1. In VS 2005, go to Tools -> ActiveX Control Test Container... 2. Select Files -> Register Controls 3. Select ATLSIP, then choose Unregister. 4. Click Register then choose your ATLSIP.dll build. Regards, Ilian > What am i doing wrong? > > > > 2007/12/30, Joegen E. Baclor : > >> Ilian or a member of his team should be able to answer you more reliably >> as to which object files are needed. I have detached myself from ATLSIP >> for a long time and currently do not have the build environment to look >> at. I'll leave the liberty of answering to Ilian. >> >> sebastian pastor wrote: >> >>> Ok. Thanks Joegen. >>> >>> I also thought that way so i disabled that project in Build settings of >>> 'ATLSIP' Solution. But as long as i remember, that way it didn't >>> >> generate >> >>> the necessary files for using OSSPhone. Maybe it was my fault, i don't >>> remember wether i chose Build again (from the beginning Ctrl+Alt+F7) or >>> >> just >> >>> normal Build (F7)... >>> >>> Anyway, it doesn't matter. Yesterday night after some reattempts and >>> >> without >> >>> doing (apparently) anything it worked. >>> BTW, which ones from the files generated after building ATLSIP project >>> >> are >> >>> really used by OSSPhone (for the attribute called ATLSIP)? >>> >>> Thanks and Happy New Year, >>> >>> -Sebastián- >>> >>> 2007/12/30, jo...@op... : >>> >>> >>>> hi sebastian, >>>> >>>> atlsipps is not needed by atlsip as far as i know so you may safely >>>> ignore this compile error. that is as long as the atlsip main dll >>>> compiled properly. let me know if you prove me wrong >>>> >>>> joegen >>>> >>>> >>>> sebastian pastor wrote: >>>> >>>> >>>>> Hi, >>>>> >>>>> well this one has appeared with the last version that i downloaded >>>>> >>>>> >>>> trough >>>> >>>> >>>>> CVS. I'm using Visual Studio 2005 in Windows XP. >>>>> I don't know if you have reproduced it. >>>>> >>>>> it's in ATLSIPPS project and it says: >>>>> >>>>> *Error: MIDL will not generate DLLDATA.C unless you have at least 1 >>>>> interface in the main project.* >>>>> >>>>> Any workaround? >>>>> >>>>> >>>>> Thanks in advance and Happy New Year >>>>> >>>>> -Sebastián- >>>>> >>>>> >>>>> >> ------------------------------------------------------------------------- >> >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> opensipstack-devel mailing list >>>>> ope...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >> ------------------------------------------------------------------------- >> >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> opensipstack-devel mailing list >>>> ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>> >>>> >>>> >> ------------------------------------------------------------------------- >> >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ opensipstack-devel mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/opensipstack-devel --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. |
From: sebastian p. <seb...@gm...> - 2008-01-03 13:52:50
|
Hi Ilian, Tanks. I've done that but i still have the same problem. Which are the files that need to be included in OSSPhone folder to be able to use ATLSIP library? And what are that "Ax" prefix, i didn't find that namespace anywhere in ATLSIP project, i suppose it's automtically generated by Visual studio. Sorry for being so inquisitive, but i need to do some things based on your code for academic purpose, not professional and i know what to do, i'm keen on SIP and not so bad on programming but i'm so green on Visual Studio and dinamic libraries... BTW, which are the differences between ATLSIP.dll, ATLSIPLib.dll and Interop.ATLSIPLib.dll? Regards, -Sebastian Pastor- 2008/1/3, Ilian Jeri C. Pinzon <ip...@so...>: > > Hi Sebastian, > > Sorry for the late reply. I was out on vacation... > > sebastian pastor wrote: > > OK, i'd like to know it because i'm trying to modify something in ATLSI= P > but > > i cannot then use it in OSSPhone. > > > > I.e: I added an *empty funtion* just for testing. First in > OpenSipStackctl.h, > > then in OpenSipStackCtl.cpp, then in ATLSIP.idl (contained in IDispatch > > wrapping for IOpenSipStackCtl inteface) and it is built ok (both releas= e > and > > debug). > > But then whenever i try to build OpenOSSPhone calling to that function > in > > Form1.h it tells me that is not a function belonging to ATLSIP library. > > > This could be mean that the updated DLL was not registered. Try manually > forcing this by: > > 1. In VS 2005, go to Tools -> ActiveX Control Test Container... > 2. Select Files -> Register Controls > 3. Select ATLSIP, then choose Unregister. > 4. Click Register then choose your ATLSIP.dll build. > > Regards, > Ilian > > What am i doing wrong? > > > > > > > > 2007/12/30, Joegen E. Baclor <joe...@gm...>: > > > >> Ilian or a member of his team should be able to answer you more > reliably > >> as to which object files are needed. I have detached myself from > ATLSIP > >> for a long time and currently do not have the build environment to loo= k > >> at. I'll leave the liberty of answering to Ilian. > >> > >> sebastian pastor wrote: > >> > >>> Ok. Thanks Joegen. > >>> > >>> I also thought that way so i disabled that project in Build settings > of > >>> 'ATLSIP' Solution. But as long as i remember, that way it didn't > >>> > >> generate > >> > >>> the necessary files for using OSSPhone. Maybe it was my fault, i don'= t > >>> remember wether i chose Build again (from the beginning Ctrl+Alt+F7) > or > >>> > >> just > >> > >>> normal Build (F7)... > >>> > >>> Anyway, it doesn't matter. Yesterday night after some reattempts and > >>> > >> without > >> > >>> doing (apparently) anything it worked. > >>> BTW, which ones from the files generated after building ATLSIP projec= t > >>> > >> are > >> > >>> really used by OSSPhone (for the attribute called ATLSIP)? > >>> > >>> Thanks and Happy New Year, > >>> > >>> -Sebasti=E1n- > >>> > >>> 2007/12/30, jo...@op... <joe...@gm...>: > >>> > >>> > >>>> hi sebastian, > >>>> > >>>> atlsipps is not needed by atlsip as far as i know so you may safely > >>>> ignore this compile error. that is as long as the atlsip main dll > >>>> compiled properly. let me know if you prove me wrong > >>>> > >>>> joegen > >>>> > >>>> > >>>> sebastian pastor wrote: > >>>> > >>>> > >>>>> Hi, > >>>>> > >>>>> well this one has appeared with the last version that i downloaded > >>>>> > >>>>> > >>>> trough > >>>> > >>>> > >>>>> CVS. I'm using Visual Studio 2005 in Windows XP. > >>>>> I don't know if you have reproduced it. > >>>>> > >>>>> it's in ATLSIPPS project and it says: > >>>>> > >>>>> *Error: MIDL will not generate DLLDATA.C unless you have at least 1 > >>>>> interface in the main project.* > >>>>> > >>>>> Any workaround? > >>>>> > >>>>> > >>>>> Thanks in advance and Happy New Year > >>>>> > >>>>> -Sebasti=E1n- > >>>>> > >>>>> > >>>>> > >> > ------------------------------------------------------------------------- > >> > >>>>> This SF.net email is sponsored by: Microsoft > >>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>>>> _______________________________________________ > >>>>> opensipstack-devel mailing list > >>>>> ope...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > >> > ------------------------------------------------------------------------- > >> > >>>> This SF.net email is sponsored by: Microsoft > >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>>> _______________________________________________ > >>>> opensipstack-devel mailing list > >>>> ope...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >>>> > >>>> > >>>> > >> > ------------------------------------------------------------------------- > >> > >>> This SF.net email is sponsored by: Microsoft > >>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>> _______________________________________________ > >>> opensipstack-devel mailing list > >>> ope...@li... > >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >>> > >>> > >>> > >>> > >> > >> > ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2005. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> _______________________________________________ > >> opensipstack-devel mailing list > >> ope...@li... > >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >> > >> > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > opensipstack-devel mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |
From: Ilian J. C. P. <ip...@so...> - 2008-01-04 05:38:59
|
Hi Sebastian, sebastian pastor wrote: > Hi Ilian, > > Tanks. I've done that but i still have the same problem. > Which are the files that need to be included in OSSPhone folder to be able > to use ATLSIP library? > ATLSIPLib.dll AxATLSIPLib.dll and ATLSIP.dll registered via regsvr32 > And what are that "Ax" prefix, i didn't find that namespace anywhere in > ATLSIP project, i suppose it's automtically generated by Visual studio. > It's automatically generated when using an ActiveX control. > Sorry for being so inquisitive, but i need to do some things based on your > code for academic purpose, not professional and i know what to do, i'm keen > on SIP and not so bad on programming but i'm so green on Visual Studio and > dinamic libraries... > > BTW, which are the differences between ATLSIP.dll, This is the output from the ATLSIP project. Done in ActiveX/C++ (unmanaged code). > ATLSIPLib.dll and > Interop.ATLSIPLib.dll? > These are wrapper DLLs for ATLSIP. These are needed so that OSSPhone .NET (C++/CLI managed code) can use ATLSIP (C++ unmanaged code). I think I know your problem now. Remember when you removed the "aximp.exe" Pre-build event? ---------- But i still have the same error when compiling OSSPhone project, PRJ0019: A tool returned an error code from "Executing event previous to generation..." -------------- That caused it. If the pre-build event still does not work for you, you can do this manually: 1. Compile the ATLSIP project *only*. 2. Run aximp ATLSIP.dll 3. Copy the output files to your project directory ("OSSPhone\vc80") and your output directories ("OSSPhone\vc80\Debug" or "OSSPhone\vc80\Release") 4. Compile OSSPhone .NET Regards, Ilian > Regards, > > -Sebastian Pastor- > > > 2008/1/3, Ilian Jeri C. Pinzon <ip...@so...>: > >> Hi Sebastian, >> >> Sorry for the late reply. I was out on vacation... >> >> sebastian pastor wrote: >> >>> OK, i'd like to know it because i'm trying to modify something in ATLSIP >>> >> but >> >>> i cannot then use it in OSSPhone. >>> >>> I.e: I added an *empty funtion* just for testing. First in >>> >> OpenSipStackctl.h, >> >>> then in OpenSipStackCtl.cpp, then in ATLSIP.idl (contained in IDispatch >>> wrapping for IOpenSipStackCtl inteface) and it is built ok (both release >>> >> and >> >>> debug). >>> But then whenever i try to build OpenOSSPhone calling to that function >>> >> in >> >>> Form1.h it tells me that is not a function belonging to ATLSIP library. >>> >>> >> This could be mean that the updated DLL was not registered. Try manually >> forcing this by: >> >> 1. In VS 2005, go to Tools -> ActiveX Control Test Container... >> 2. Select Files -> Register Controls >> 3. Select ATLSIP, then choose Unregister. >> 4. Click Register then choose your ATLSIP.dll build. >> >> Regards, >> Ilian >> >>> What am i doing wrong? >>> >>> >>> >>> 2007/12/30, Joegen E. Baclor <joe...@gm...>: >>> >>> >>>> Ilian or a member of his team should be able to answer you more >>>> >> reliably >> >>>> as to which object files are needed. I have detached myself from >>>> >> ATLSIP >> >>>> for a long time and currently do not have the build environment to look >>>> at. I'll leave the liberty of answering to Ilian. >>>> >>>> sebastian pastor wrote: >>>> >>>> >>>>> Ok. Thanks Joegen. >>>>> >>>>> I also thought that way so i disabled that project in Build settings >>>>> >> of >> >>>>> 'ATLSIP' Solution. But as long as i remember, that way it didn't >>>>> >>>>> >>>> generate >>>> >>>> >>>>> the necessary files for using OSSPhone. Maybe it was my fault, i don't >>>>> remember wether i chose Build again (from the beginning Ctrl+Alt+F7) >>>>> >> or >> >>>> just >>>> >>>> >>>>> normal Build (F7)... >>>>> >>>>> Anyway, it doesn't matter. Yesterday night after some reattempts and >>>>> >>>>> >>>> without >>>> >>>> >>>>> doing (apparently) anything it worked. >>>>> BTW, which ones from the files generated after building ATLSIP project >>>>> >>>>> >>>> are >>>> >>>> >>>>> really used by OSSPhone (for the attribute called ATLSIP)? >>>>> >>>>> Thanks and Happy New Year, >>>>> >>>>> -Sebastián- >>>>> >>>>> 2007/12/30, jo...@op... <joe...@gm...>: >>>>> >>>>> >>>>> >>>>>> hi sebastian, >>>>>> >>>>>> atlsipps is not needed by atlsip as far as i know so you may safely >>>>>> ignore this compile error. that is as long as the atlsip main dll >>>>>> compiled properly. let me know if you prove me wrong >>>>>> >>>>>> joegen >>>>>> >>>>>> >>>>>> sebastian pastor wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> well this one has appeared with the last version that i downloaded >>>>>>> >>>>>>> >>>>>>> >>>>>> trough >>>>>> >>>>>> >>>>>> >>>>>>> CVS. I'm using Visual Studio 2005 in Windows XP. >>>>>>> I don't know if you have reproduced it. >>>>>>> >>>>>>> it's in ATLSIPPS project and it says: >>>>>>> >>>>>>> *Error: MIDL will not generate DLLDATA.C unless you have at least 1 >>>>>>> interface in the main project.* >>>>>>> >>>>>>> Any workaround? >>>>>>> >>>>>>> >>>>>>> Thanks in advance and Happy New Year >>>>>>> >>>>>>> -Sebastián- >>>>>>> >>>>>>> >>>>>>> >>>>>>> >> ------------------------------------------------------------------------- >> >>>>>>> This SF.net email is sponsored by: Microsoft >>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>>>> _______________________________________________ >>>>>>> opensipstack-devel mailing list >>>>>>> ope...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >> ------------------------------------------------------------------------- >> >>>>>> This SF.net email is sponsored by: Microsoft >>>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>>> _______________________________________________ >>>>>> opensipstack-devel mailing list >>>>>> ope...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>>>> >>>>>> >>>>>> >>>>>> >> ------------------------------------------------------------------------- >> >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> opensipstack-devel mailing list >>>>> ope...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >> ------------------------------------------------------------------------- >> >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> opensipstack-devel mailing list >>>> ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>> >>>> >>>> >> ------------------------------------------------------------------------- >> >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2005. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2005. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > |
From: sebastian p. <seb...@gm...> - 2008-01-04 11:42:35
|
Thanks Ilian, you're the man :-) (also thanks to Joegen and Andre) Problem solved, i've got access to the new method that i created in ATLSIP project. Aximp.exe created ATLSIPLib.dll and AxATLSIPLib.dll. Now let's hope next contributions from me to this mailing list are related to the phone solution instead of compiling problems. Best Regards, -Sebasti=E1n- 2008/1/4, Ilian Jeri C. Pinzon <ip...@so...>: > > Hi Sebastian, > > sebastian pastor wrote: > > Hi Ilian, > > > > Tanks. I've done that but i still have the same problem. > > Which are the files that need to be included in OSSPhone folder to be > able > > to use ATLSIP library? > > > ATLSIPLib.dll > AxATLSIPLib.dll and > ATLSIP.dll registered via regsvr32 > > And what are that "Ax" prefix, i didn't find that namespace anywhere in > > ATLSIP project, i suppose it's automtically generated by Visual studio. > > > It's automatically generated when using an ActiveX control. > > Sorry for being so inquisitive, but i need to do some things based on > your > > code for academic purpose, not professional and i know what to do, i'm > keen > > on SIP and not so bad on programming but i'm so green on Visual Studio > and > > dinamic libraries... > > > > BTW, which are the differences between ATLSIP.dll, > This is the output from the ATLSIP project. Done in ActiveX/C++ > (unmanaged code). > > ATLSIPLib.dll and > > Interop.ATLSIPLib.dll? > > > These are wrapper DLLs for ATLSIP. These are needed so that OSSPhone > .NET (C++/CLI managed code) can use ATLSIP (C++ unmanaged code). > > I think I know your problem now. Remember when you removed the > "aximp.exe" Pre-build event? > > ---------- > But i still have the same error when compiling OSSPhone project, > PRJ0019: A tool returned an error code from "Executing event previous to > generation..." > > -------------- > > That caused it. If the pre-build event still does not work for you, you > can do this manually: > > 1. Compile the ATLSIP project *only*. > 2. Run aximp ATLSIP.dll > 3. Copy the output files to your project directory ("OSSPhone\vc80") and > your output directories ("OSSPhone\vc80\Debug" or "OSSPhone\vc80\Release"= ) > 4. Compile OSSPhone .NET > > Regards, > Ilian > > Regards, > > > > -Sebastian Pastor- > > > > > > 2008/1/3, Ilian Jeri C. Pinzon <ip...@so...>: > > > >> Hi Sebastian, > >> > >> Sorry for the late reply. I was out on vacation... > >> > >> sebastian pastor wrote: > >> > >>> OK, i'd like to know it because i'm trying to modify something in > ATLSIP > >>> > >> but > >> > >>> i cannot then use it in OSSPhone. > >>> > >>> I.e: I added an *empty funtion* just for testing. First in > >>> > >> OpenSipStackctl.h, > >> > >>> then in OpenSipStackCtl.cpp, then in ATLSIP.idl (contained in > IDispatch > >>> wrapping for IOpenSipStackCtl inteface) and it is built ok (both > release > >>> > >> and > >> > >>> debug). > >>> But then whenever i try to build OpenOSSPhone calling to that functio= n > >>> > >> in > >> > >>> Form1.h it tells me that is not a function belonging to ATLSIP > library. > >>> > >>> > >> This could be mean that the updated DLL was not registered. Try > manually > >> forcing this by: > >> > >> 1. In VS 2005, go to Tools -> ActiveX Control Test Container... > >> 2. Select Files -> Register Controls > >> 3. Select ATLSIP, then choose Unregister. > >> 4. Click Register then choose your ATLSIP.dll build. > >> > >> Regards, > >> Ilian > >> > >>> What am i doing wrong? > >>> > >>> > >>> > >>> 2007/12/30, Joegen E. Baclor <joe...@gm...>: > >>> > >>> > >>>> Ilian or a member of his team should be able to answer you more > >>>> > >> reliably > >> > >>>> as to which object files are needed. I have detached myself from > >>>> > >> ATLSIP > >> > >>>> for a long time and currently do not have the build environment to > look > >>>> at. I'll leave the liberty of answering to Ilian. > >>>> > >>>> sebastian pastor wrote: > >>>> > >>>> > >>>>> Ok. Thanks Joegen. > >>>>> > >>>>> I also thought that way so i disabled that project in Build setting= s > >>>>> > >> of > >> > >>>>> 'ATLSIP' Solution. But as long as i remember, that way it didn't > >>>>> > >>>>> > >>>> generate > >>>> > >>>> > >>>>> the necessary files for using OSSPhone. Maybe it was my fault, i > don't > >>>>> remember wether i chose Build again (from the beginning Ctrl+Alt+F7= ) > >>>>> > >> or > >> > >>>> just > >>>> > >>>> > >>>>> normal Build (F7)... > >>>>> > >>>>> Anyway, it doesn't matter. Yesterday night after some reattempts an= d > >>>>> > >>>>> > >>>> without > >>>> > >>>> > >>>>> doing (apparently) anything it worked. > >>>>> BTW, which ones from the files generated after building ATLSIP > project > >>>>> > >>>>> > >>>> are > >>>> > >>>> > >>>>> really used by OSSPhone (for the attribute called ATLSIP)? > >>>>> > >>>>> Thanks and Happy New Year, > >>>>> > >>>>> -Sebasti=E1n- > >>>>> > >>>>> 2007/12/30, jo...@op... <joe...@gm...>: > >>>>> > >>>>> > >>>>> > >>>>>> hi sebastian, > >>>>>> > >>>>>> atlsipps is not needed by atlsip as far as i know so you may safel= y > >>>>>> ignore this compile error. that is as long as the atlsip main dll > >>>>>> compiled properly. let me know if you prove me wrong > >>>>>> > >>>>>> joegen > >>>>>> > >>>>>> > >>>>>> sebastian pastor wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>>> Hi, > >>>>>>> > >>>>>>> well this one has appeared with the last version that i downloade= d > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> trough > >>>>>> > >>>>>> > >>>>>> > >>>>>>> CVS. I'm using Visual Studio 2005 in Windows XP. > >>>>>>> I don't know if you have reproduced it. > >>>>>>> > >>>>>>> it's in ATLSIPPS project and it says: > >>>>>>> > >>>>>>> *Error: MIDL will not generate DLLDATA.C unless you have at least > 1 > >>>>>>> interface in the main project.* > >>>>>>> > >>>>>>> Any workaround? > >>>>>>> > >>>>>>> > >>>>>>> Thanks in advance and Happy New Year > >>>>>>> > >>>>>>> -Sebasti=E1n- > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >> > ------------------------------------------------------------------------- > >> > >>>>>>> This SF.net email is sponsored by: Microsoft > >>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>>>>>> _______________________________________________ > >>>>>>> opensipstack-devel mailing list > >>>>>>> ope...@li... > >>>>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >> > ------------------------------------------------------------------------- > >> > >>>>>> This SF.net email is sponsored by: Microsoft > >>>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>>>>> _______________________________________________ > >>>>>> opensipstack-devel mailing list > >>>>>> ope...@li... > >>>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >> > ------------------------------------------------------------------------- > >> > >>>>> This SF.net email is sponsored by: Microsoft > >>>>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>>>> _______________________________________________ > >>>>> opensipstack-devel mailing list > >>>>> ope...@li... > >>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>> > >> > ------------------------------------------------------------------------- > >> > >>>> This SF.net email is sponsored by: Microsoft > >>>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>>> _______________________________________________ > >>>> opensipstack-devel mailing list > >>>> ope...@li... > >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >>>> > >>>> > >>>> > >> > ------------------------------------------------------------------------- > >> > >>> This SF.net email is sponsored by: Microsoft > >>> Defy all challenges. Microsoft(R) Visual Studio 2005. > >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >>> _______________________________________________ > >>> opensipstack-devel mailing list > >>> ope...@li... > >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >>> > >>> > >>> > >>> > >> > ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Microsoft > >> Defy all challenges. Microsoft(R) Visual Studio 2005. > >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > >> _______________________________________________ > >> opensipstack-devel mailing list > >> ope...@li... > >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > >> > >> > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > opensipstack-devel mailing list > > ope...@li... > > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > opensipstack-devel mailing list > ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-devel > |