Hi,

I think that the array is already allocated in the DLL, so all you need to do is :

Code:
int *test;  // the receiving array
int *get_array(); // preparing function for calling

....
int main()
{
...
test = get_array();
...
}



But you must be carefull when doing something like this : how and where to free the memory allocated to the array, etc...

Best regards.