From: Daniel J S. <dan...@ie...> - 2014-02-08 07:04:16
|
On 02/08/2014 12:57 AM, Daniel J Sebald wrote: > chfilename = malloc(filename.length() + 1); > if (chfilename) > { > *chfilename = filename.toUtf8().data(); You may need a strcpy there...it's been a while since I've done any C-level memory copying. :-) Dan |