Hi bitcoin,
Well I searched and searched but couldn't find the error code for "doesn't work"
Seriously though you are not giving enough information to allow any help to be useful.
It seems you received no error message when using the malloc, but are saying something else
did not work and you seem to be suspecting/pointing to the memory address. Other than
that what didn't work is unspecified. You mention 64 bit specifically, have you tried 32 bit and
does it work as you wanted?
Can you zip and post a small project that demonstrates what doesn't work?
John Z