Loading dll which is dependent on another dll which is in same folder causing crash "unable to load dll"

loading dll which is dependent on another dll which is in same folder causing crash “unable to load dll”
i have dll say “x.dll” which requires “y.dll” . So when i load using loadDll and loading x.dll ,it gives error unable to load x.dll . This was working n UE4.15 but not working in UE4.16