Re: exe/dll data exchange
I would create an exported function in your DLL which returns a char** (a pointer to the char *), and in this return value pass the address of your char * to your EXE file.
Re: exe/dll data exchange
and if I need to get pointer to int** (for example there is some matrix) - i should return int*** - or i didn't understand something?
Re: exe/dll data exchange
yes, a pointer to an int** is a int***. Every * means pointer, and you can have many levels of pointers..... i.e. a pointer to a pointer....
if your char * you want to pass to your EXE is a constant, i.e. the pointer does not change, then it is sufficient to pass it to your EXE by value, not by pointer (char **).