Re: [OpenSIPStack] [ATLSIP] New compiling error
Brought to you by:
joegenbaclor
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 > |