It's probably a misformatting of the GetDependencies function. Or you don't have the function at all.
Also, make sure you're using TCHAR static text. _T("dll")
You'll get much faster support on...