Return to LanScape's home page Go back a page...       Active TopicsActive Topics   Display List of Forum MembersMember List   Knowledge Base SearchSearch   HelpHelp  RegisterRegister  LoginLogin

LanScape VOIP Media Engine™ - Technical Support
 LanScape Support Forum -> LanScape VOIP Media Engine™ - Technical Support
Subject Topic: Building VOIP Samples using .NET 2003 Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: March 08 2005 at 11:44am | IP Logged Quote support

Subject:

How to build LanScape VOIP Media Engine software examples using Visual Studio .NET 2003 or greater.


Summary:

Since the release of Visual C++ 6.x, there have been substantial changes to Microsoft development tools and associated libraries. The most noticeable changes have come in the form of new MFC 7 libraries and the standard runtime libraries.

Unfortunately for developers having to work in both VC++ 6.x and .NET, the newer runtime libraries and MFC 7 are not fully backward compatible with version 6 runtime or MFC 6 libraries.

This means that a few of the VOIP software samples that are shipped with the LanScape VOIP Media Engine will not by default link properly using the newer MFC 7 libraries used by .NET. The problem is that the spectrum analyzer and DTMF static libraries that are shipped with the VOIP Media Engine were built using VC++ 6 standard runtime libraries and MFC 6. The version 6 libraries used by VC++ 6.x cannot be mixed with the standard libraries and MFC 7 libraries used by .NET 2003 or greater.


Solution:

You must obtain updated spectrum analyzer and DTMF libraries from LanScape. To properly build the LanScape VOIP Media Engine software examples using Visual Studio .NET 2003 or greater, please follow the following steps:

1)
Download updated spectrum analyzer and DTMF libraries located at:

http://www.lanscapecorp.com/Binary/MFC7_Libs.zip

2)
Unarchive the above image and place the new LanScape libraries from this image in your example software’s “Software Examples\Lib\xxxxx” directories. The “xxxxx” part of the path will be Debug and Release.

3)
Convert the existing Visual Studio 6 workspace/project files to .NET solutions. Do this by opening the “Software Examples \BuildAll.dsw” workspace file using Visual Studio .NET. Visual Studio .NET will tell you that the files need to be converted to a new format. Specify “Yes” or “Yes for all” depending on the version of .NET you are using. At this point your project files have been converted.

4)
Edit Link project settings for all projects that link to the DTMF.lib and Spectrum.lib libraries. Change the names to DTMF_MFC7.lib and Spectrum_MFC7.lib respectively.

5)
Optional: Microsoft had deprecated the procedures Enable3dControls() and Enable3dControlsStatic(). Search your example source code and comment out these procedure calls. They only exist in each of the samples CMainAppClass::InitInstance() member functions.

6)
Rebuild all of your example applications. You should have no compile/link errors or warnings.




Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
ftgman
Intermediate
Intermediate


Joined: February 27 2005
Location: United Kingdom
Posts: 9
Posted: March 10 2005 at 5:14am | IP Logged Quote ftgman

It would be nice if windows files were supplied with a .zip extension. Then we wouldnt have to hunt round for some rar software. We could just use Windows to unzip the files !
Back to Top View ftgman's Profile Search for other posts by ftgman
 
support
Administrator
Administrator


Joined: January 26 2005
Location: United States
Posts: 1666
Posted: March 10 2005 at 6:37am | IP Logged Quote support


Thanks for your comments. We are always looking for ways to make things easier for our customers. We use rar because we generally get 20% better compression rates and we have come to like it much better than the zip format. We suggest you look into WinRar software. Its very inexpensive and sooner or later, you are going to need it.

The library archive has been changed from rar to zip file format.


LanScape Support Staff

Back to Top View support's Profile Search for other posts by support Visit support's Homepage
 
ftgman
Intermediate
Intermediate


Joined: February 27 2005
Location: United Kingdom
Posts: 9
Posted: March 10 2005 at 6:56am | IP Logged Quote ftgman

Thank you. I wont worry about the 40k increase in size if you dont :)
Back to Top View ftgman's Profile Search for other posts by ftgman
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum






Contact LanScape Hear what the Lawyers have to say How youm may use this site Read your privacy rights