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 » ArrayCtrl, HeaderCtrl & GridCtrl » AddColumn(0, ...) crashes
Re: AddColumn(0, ...) crashes [message #41456 is a reply to message #41442] Thu, 19 December 2013 08:29 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hello

Mirek has solved this in a simple and consequent way, that is to forgive the using of NULL char *. This makes sense in C because for example strlen(NULL) is not permitted.

Now const char *name = NULL is replaced with const char *name = "".

If in your program you do not do things like grid.AddColumn(NULL) you will not have to change anything.


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [BUG & FIX] [GridCtrl] Copy on GridCtrl with no selection will crash a program.
Next Topic: GridCtrl and background color of a row
Goto Forum:
  


Current Time: Fri Apr 26 01:23:09 CEST 2024

Total time taken to generate the page: 0.07260 seconds