Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Array & Gdiplus::Pen problem
Re: Array & Gdiplus::Pen problem [message #10849 is a reply to message #10841] Wed, 01 August 2007 16:30 Go to previous messageGo to previous message
arturbac is currently offline  arturbac
Messages: 91
Registered: May 2007
Location: Reda, Poland
Member

It was exaclty Reserve
When i mark out Reserve i got another place

Pen *p;
...........
p = new Pen(this->m_pOutlin.....
.........
pens.Add( p );

And then it failed at Add

So finaly i had no solution and switched
from
void MetaLayer::GetPens(int type, Array<Pen> & pens) const

to
void MetaLayer::GetPens(int type, Vector<Pen *> & pens) const

and by hand managing memory of Pens


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: #ifdef PLATFORM_POSIX #include <bits/atomicity.h> for POSIX ?
Next Topic: Compatibility change
Goto Forum:
  


Current Time: Mon Aug 25 03:53:47 CEST 2025

Total time taken to generate the page: 0.05600 seconds