Article View: borland.public.cppbuilder.nativeapi
Article #785Re: std::ostringstream problem
From: Christophe MINETTI
Date: Thu, 10 Jan 2008 13:34
Date: Thu, 10 Jan 2008 13:34
30 lines
1789 bytes
1789 bytes
Thanks for the suggestion. Sorry if this newsgroup was inappropriate for this problem. Christophe Asger Joergensen wrote: > 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:
<47861ECB.10BB209E@ulb.ac.be>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<4785F92D.22DC6601@ulb.ac.be> <MPG.21f01ec5c81c774b9899e2@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,3f62c1f0f4825088 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <47861ECB.10BB209E@ulb.ac.be> Date: Thu, 10 Jan 2008 14:34:03 +0100 From: Christophe MINETTI <cminetti@ulb.ac.be> X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: std::ostringstream problem References: <4785F92D.22DC6601@ulb.ac.be> <MPG.21f01ec5c81c774b9899e2@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 164.15.88.32 X-Trace: newsgroups.borland.com 1199972011 164.15.88.32 (10 Jan 2008 05:33:31 -0700) Lines: 31 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feed.tweaknews.nl!newsfeed.kamp.net!newsfeed.kamp.net!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail