Original Post
Hy! I tried to cretate an arry with new operator like this: SIZE = 54; Something->Path = new WCHAR[SIZE]; The length of the path was 53. By SIZE = 512 anything was ok. But crashed. That line occured an error in debug mode (at that line), but, only in debug mode. (malloc.c)... "Bad memory allocation"...NTdll.dll and ect... If I tried to run in release mode anything was OK. (WinXP SP2, VisualStudio2005 Standard Ed.) What's wrong?