I have compiled a DLL yesterday in VB6 and it gives me CLASS_E_CLASSNOTAVAILABLE issue. However the same DLL compiled in 2023 does not give this error. There has been no code change nor any change in the process or system where and how the DLL is being built.
Tried comparing DLL, Checking dependencies using dependency walker tool, does not help How to get rid of CLASS_E_CLASSNOTAVAILABLE error?