added VS2010 solution for libmdb and util/prdata.c
fixed void* pointer arithmetic
replaced VLAs with g_malloc