<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Right Stationery</TITLE>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16437"></HEAD>
<BODY
style="BACKGROUND-COLOR: #e0e0e0; FONT-FAMILY: Arial; COLOR: #000000; FONT-SIZE: 10pt"
background="" bgColor=#e0e0e0>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011>Hi everyone,</SPAN></FONT></DIV>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011></SPAN></FONT> </DIV>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011>I have successfully used live555 in the past for
various test programs. I am now trying to incorporate live555 into another
application. Live555 forms part of a plugin, which is loaded by our client
application.</SPAN></FONT></DIV>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011></SPAN></FONT> </DIV>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011>The problem is that when loading this plugin that uses
live555, I get a heap corruption. I spent quite sometime on this and I
discovered that if I remove my call to "AudioInputDevice::createNew()" then my
application does not suffer a heap corruption when loading the plugin the uses
live555. With this line, a heap corruption while loading the
plugin.</SPAN></FONT></DIV>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011></SPAN></FONT> </DIV>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011>I am using Windows 7 64bit, Visual Studio 2008 and the
newest version of live555 (1st November). Any suggestions will be most
appreciated.</SPAN></FONT></DIV>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011></SPAN></FONT> </DIV>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011>The call that trashes my heap is:</SPAN></FONT></DIV>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011></SPAN></FONT> </DIV>
<DIV><FONT color=#005080 size=3><SPAN class=489030710-07112011><FONT
face="Trebuchet MS">FramedSource *micInput =
(WindowsAudioInputDevice*)AudioInputDevice::createNew( envir(), 0, 16 <FONT
color=#008000><FONT color=#008000>/*BIT_RATE*/</FONT></FONT>, 2 <FONT
color=#008000><FONT color=#008000>/*NUM_CHANNELS*/</FONT></FONT>, 22050<FONT
color=#008000><FONT color=#008000>/*SAMPLE_RATE*/</FONT></FONT>, 2<FONT
color=#008000><FONT color=#008000>/*GRANULARITY*/</FONT></FONT>);</FONT></DIV>
<P><FONT face="Trebuchet MS"><SPAN class=489030710-07112011>Please
note:</SPAN></FONT></P>
<P><FONT face="Trebuchet MS"><SPAN class=489030710-07112011>My application never
gets to this call. Simply having it in my code breaks the heap at
startup</SPAN></FONT></P>
<P></SPAN></FONT><FONT color=#005080 size=3 face="Trebuchet MS"><SPAN
class=489030710-07112011>Regards.</SPAN></FONT></P>
<DIV><FONT color=#005080 size=3 face="Trebuchet MS"></FONT> </DIV>
<DIV> </DIV></BODY></HTML>