In reply to John Verif:
Now, got it…!
Here is the command to use UVM_DPI
gcc-4.2.1-mingw32vc9/bin/g++.exe -g -DQUESTA -W -shared -Bsymbolic -Ic:/QuestaSim_10.0d/include uvm-1.1a/src/dpi/uvm_dpi.cc -o uvm-1.1/uvm_dpi.dll c:/QuestaSim_10.0d/win32/mtipli.dll -lregex
John