strange malloc/new behavior
I have a strange problem : I'm trying to allocate simple char buffer in JNI dll with C++. But no matter what i try to write to this buffer, and how, the first 4 bytes are always = 0. I tried to allocate it with both malloc() function and new operator. Result is always the same.
Because i'm using JNI first time, and never encountered such problem before when in pure C++ development, I thought JNI may cause this.
I'll appreciate any help.

