Article View: borland.public.cppbuilder.nativeapi
Article #784Re: std::ostringstream problem
From: Asger Joergensen
Date: Thu, 10 Jan 2008 11:24
Date: Thu, 10 Jan 2008 11:24
24 lines
1605 bytes
1605 bytes
Hi Christophe Christophe MINETTI says: > Hi all, > > I am using an external frame grabber which uses DLL and internal > structures. To access this DLL, I have to use a strcuture with a member > postr defined as std::ostringstream *postr. Before calling my function I > use this line : > > MyStruct.postr = new std::ostringstream; > > which returns in a NULL pointer and the functions off the DLL crashes. > > Any idea why the constructor std::ostringstream returns me a NULL > pointer ? You will probably be better of asking this kind of questions in the cppbuilder.language.cpp group they know a lot more about STL. Kind regards Asger
Technical Details
Message-ID:
<MPG.21f01ec5c81c774b9899e2@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4785F92D.22DC6601@ulb.ac.be>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3f62c1f0f4825088 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Asger Joergensen <junk@Asger-P.dk> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: std::ostringstream problem Date: Thu, 10 Jan 2008 12:24:13 +0100 Message-ID: <MPG.21f01ec5c81c774b9899e2@newsgroups.borland.com> References: <4785F92D.22DC6601@ulb.ac.be> Organization: Asger-P MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 NNTP-Posting-Host: 83.73.201.25 X-Trace: newsgroups.borland.com 1199964251 83.73.201.25 (10 Jan 2008 03:24:11 -0700) Lines: 24 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail