You need to some memory allocated here first.


char** argv;
argv[ 0 ] = "libpl.dll";