See this for the DLL search order:
Your best bet is to put all the DLLs into the directory containing a.exe.
You could also reference them with absolute paths with the help of
GetModuleFileName, e.g. using it on the b.dll HMODULE and replacing the
filename (b.dll) part with c.dll.
Microsoft MVP - Visual C++