We deal with the problems of four boundary points conditions for both differential inclusions and differential equations with and without moving constraints. Using a very recent result we prove existence of generalized solutions for some differential inclusions and some differential equations with moving constraints. The results obtained improve the recent results obtained by Papageorgiou and Ibrahim-Gomaa. Also by means of a rather different approach based on an existence theorem due to O. N. Ricceri and B. Ricceri we prove existence results improving earlier theorems by Gupta and Marano.