Hello thanks for the reply to my problem, it's amazing that one of the above methods worked and now I can use hardware mode and the game runs very smoothly.
the steps i did:
just extract DDrawCompat-v0.3.1 and put it in the file that contains the SimCity 4 application and then use the SimCity 4 launcher. then set the screen resolution at (1600x900) this can fill the screen with a ratio (1920x1080) without any black lines on the edges and use the opengl rendering method. now just start and feel the sensation of SimCity 4 without lag and objects being distorted.
settings and resolutions I did:
Gameplay with hardware mode: