🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #788

Re: std::ostringstream problem

#788
From: Jarek Karciarz
Date: Fri, 11 Jan 2008 07:27
31 lines
1716 bytes
have you tried
postr=new std::ostringstream();

Jarek


-- 
Pozdrawiam
Jarek Karciarz
Ositron www.ositron.pl
mail: jka@ositron.pl
Uzytkownik "Christophe MINETTI" <cminetti@ulb.ac.be> napisal w wiadomosci 
news:4785F92D.22DC6601@ulb.ac.be...
> 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 ?
>
> Many thanks in advance.
>
> Chritophe
> 
Technical Details
Message-ID: <47871a75@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.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
References: <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: "Jarek Karciarz" <karciarz@osimatic.pl>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4785F92D.22DC6601@ulb.ac.be>
Subject: Re: std::ostringstream problem
Date: Fri, 11 Jan 2008 08:27:43 +0100
Lines: 33
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 87.105.99.98
Message-ID: <47871a75@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1200036469 87.105.99.98 (10 Jan 2008 23:27:49 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.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