I need help in converting char * to TByteDynArray in Borland C++ Builder.
Below code is suppose to work but it give me EAccess Voilation error.
char *one = "test"; TByteDynArray two; two.set_length(sizeof(one)); Move((void *) one, (void *) two,sizeof(one));
This kind of code work in delphi and it is also suppose to work in c+ builder but not working for me.
Thanks for any help anyone can provide.