Original Post
Hey, all I'm developing a program in VB that sends information to a C++ Dll i want the c++ to process this information and store it into a string (this string is currently at 2MB) i then want c++ to return a pointer to VB and have VB copy this pointer to a local byte array preferably using copymemory the problem i am having is im not sure how to find the pointer of a variable in c++ and im not sure how to use the pointer in vb without crashing it ^_^ char* temp = new char[2000000]; ^ That is the variable i will be using to send to visual basic Also is there a better method of doing this? im aiming for real time 2MB doesn't seem to much to send but i may be mistaken ty all in advanced