f = (HogeBase*(*)())GetProcAddress(hLib, "createHogeEx");
HogeBase*ptr = f();
ptr->boo();
delete ptr;
やっぱりdllも作ったことの無い人だったか。